remove GenericVectorTests from rsp (#17366)
[mono-project.git] / mono / eglib / eglib-config.hw
blob6ab297f9c1291e70d9ea23807b7c61523b263d63
1 #ifndef __EGLIB_CONFIG_H
2 #define __EGLIB_CONFIG_H
4 /*
5  * System-dependent settings
6  */
7 #define G_OS_WIN32 1
9 #ifdef _MSC_VER
11 #include <io.h>
12 #include <stddef.h>
14 #define G_GNUC_PRETTY_FUNCTION   __FUNCTION__
15 #define G_GNUC_UNUSED            
16 #define G_BYTE_ORDER             1234
17 #define G_GNUC_NORETURN          
18 #define G_BREAKPOINT()           __debugbreak()
19 #define MAXPATHLEN 242
21 typedef size_t gsize;
22 typedef ptrdiff_t gssize;
23 typedef int pid_t;
25 #define G_DIR_SEPARATOR          '\\'
26 #define G_DIR_SEPARATOR_S        "\\"
27 #define G_SEARCHPATH_SEPARATOR_S ";"
28 #define G_SEARCHPATH_SEPARATOR   ';'
30 #ifdef _WIN64
31 // Correct for Win32 and Win64 since circa 2000.
32 #define G_GSIZE_FORMAT   "Iu"
33 #else
34 // Correct for Win32 since circa 1992.
35 #define G_GSIZE_FORMAT   "u"
36 #endif
38 // https://msdn.microsoft.com/en-us/library/40bbyw78.aspx
39 #define STDOUT_FILENO (1)
40 #define STDERR_FILENO (2)
42 /* FIXME: what should this be ?*/
43 #define X_OK 4 /* This is really read */
44 #define WNOHANG 1
45 #define F_SETFD 1
46 #define FD_CLOEXEC 1
48 #ifndef __cplusplus
49 #undef inline
50 #define inline __inline
51 #endif
53 #define strtok_r strtok_s
55 #undef G_HAVE_UNISTD_H
56 #undef G_HAVE_SYS_TIME_H
57 #undef G_HAVE_SYS_WAIT_H
58 #undef G_HAVE_PWD_H
59 #undef G_HAVE_STRNDUP
60 #define G_HAVE_GETOPT_H 1
62 /* disable the following warnings 
63  * C4100: The formal parameter is not referenced in the body of the function. The unreferenced parameter is ignored. 
64  * C4127: conditional expression is constant
66 #pragma warning(disable:4100 4127)
67 #endif
69 typedef void * GPid;
70 #endif