X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bea7d471e30c245e71b6276dcdcd420f8e9d088f..c801085faffe5e42117edfab7b8507fc45abc696:/tools/tesh2/include/def.h diff --git a/tools/tesh2/include/def.h b/tools/tesh2/include/def.h deleted file mode 100644 index d5b45aa749..0000000000 --- a/tools/tesh2/include/def.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef __DEF_H -#define __DEF_H - -/* must be defined first */ -#ifdef WIN32 - - #define _WIN32_WINNT 0x0400 - - #if (_MSC_VER >= 1400 && !defined(_CRT_SECURE_NO_DEPRECATE)) - #define _CRT_SECURE_NO_DEPRECATE - #endif - - #include /* for getcwd(), _chdir() */ - -#endif - - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#ifdef WIN32 - - #define strdup _strdup - #define chdir _chdir - #define getcwd _getcwd - - #ifndef S_ISDIR - #define S_ISDIR(__mode) (((__mode) & S_IFMT) == S_IFDIR) - #endif - - #ifndef S_ISREG - #define S_ISREG(__mode) (((__mode) & S_IFMT) == S_IFREG) - #endif - - #define INDEFINITE_PID NULL - #define INDEFINITE_FD NULL -#else - #define INDEFINITE_PID ((int)-1) - #define INDEFINITE_FD ((int)-1) -#endif - -#ifndef MAX_PATH - #define MAX_PATH ((unsigned int)255) -#endif - - -#define INDEFINITE ((int)-1) -#define INDEFINITE_SIGNAL NULL - -#define DEFAULT_FSTREAMS_CAPACITY ((int)128) -#define DEFAULT_INCLUDES_CAPACITY DEFAULT_FSTREAMS_CAPACITY -#define DEFAULT_UNITS_CAPACITY ((int)64) -#define DEFAULT_COMMANDS_CAPACITY ((int)1024) -#define DEFAULT_SUITES_CAPACITY ((int)128) - -#define MAX_SUFFIX ((unsigned int)9) - -#ifdef __cplusplus -} -#endif - - -#endif /* !__DEF_H */ -