Initial commit of "Rocket Workbench".
Taken from sources in CVS at:
https://sourceforge.net/projects/rocketworkbench/
Sources extracted in two steps:
1. Pull entire project tree into a subdir "rwb" via "rsync":
rsync -a a.cvs.sourceforge.net::cvsroot/rocketworkbench/ rwb/.
2. Export sources:
export CVSROOT=$(pwd)/rwb
SUBDIRS="analyser cpropep cpropep-web CVSROOT data libcompat libcpropep libnum libsimulation libthermo prop rocketworkbench rockflight"
mkdir rwbx; cd rwbx
cvs export -D now ${SUBDIRS}
After this (and some backups for safety), the directory content was
added to a Git repo:
git init .
git add *
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
#ifndef COMPAT_H
|
||||
#define COMPAT_H
|
||||
|
||||
/*
|
||||
Checking for _MSC_VER will detect whether MSVC++ is being used.
|
||||
I don't know of the other compiler flags, so others will want to
|
||||
add to this for their own compilers.
|
||||
|
||||
Mark Pinese 24/4/2000
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef _MSC_VER
|
||||
/* MSVC++ 6.0 Std */
|
||||
#define STRNCASECMP _strnicmp
|
||||
|
||||
/* add for MSVC++ 5.0 */
|
||||
#define STRCASECMP _stricmp
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include <crtdbg.h>
|
||||
#endif /* defined (_DEBUG) */
|
||||
|
||||
#ifndef __cplusplus
|
||||
typedef enum
|
||||
{
|
||||
false = 0,
|
||||
true = 1
|
||||
} bool;
|
||||
#endif /* !defined (__cplusplus) */
|
||||
|
||||
#endif /* define _MSC_VER */
|
||||
|
||||
#ifdef GCC
|
||||
|
||||
#define STRCASECMP strcasecmp
|
||||
#define STRNCASECMP strncasecmp
|
||||
#define __min(a, b) ( (a) <= (b) ? (a) : (b))
|
||||
#define __max(a, b) ( (a) >= (b) ? (a) : (b))
|
||||
|
||||
typedef enum
|
||||
{
|
||||
false = 0,
|
||||
true = 1
|
||||
} bool;
|
||||
|
||||
#endif /* define GCC */
|
||||
|
||||
#ifdef BORLAND
|
||||
|
||||
int StrNCaseCmp(const char *s1, const char *s2, size_t sz);
|
||||
|
||||
#define STRNCASECMP StrNCaseCmp
|
||||
#define __min(a, b) ( (a) <= (b) ? (a) : (b))
|
||||
#define __max(a, b) ( (a) >= (b) ? (a) : (b))
|
||||
|
||||
typedef enum
|
||||
{
|
||||
false = 0,
|
||||
true = 1
|
||||
} bool;
|
||||
|
||||
#endif /* define BORLAND */
|
||||
|
||||
|
||||
#endif /* !defined(COMPAT_H) */
|
||||
@@ -0,0 +1,10 @@
|
||||
/* getopt.h from Don Libes "Obfuscated C" (extended by PRW) */
|
||||
#ifndef GETOPT_H
|
||||
#define GETOPT_H
|
||||
extern int getopt(int argc, char **argv, char *opts);
|
||||
extern char *optarg; /* current argv string */
|
||||
extern int optind; /* current argv index */
|
||||
extern int optopt; /* option character */
|
||||
extern int opterr; /* getopt prints errors if 1 */
|
||||
#endif /* GETOPT_H */
|
||||
|
||||
Reference in New Issue
Block a user