Merge pull request #3998 from ntherning/fix-assert-in-poll_event_wait-on-WSAENOTSOCK...
[mono.git] / eglib / src / eglib-config.hw
index 6aea95823c3483ca471a5e4f0dae83d95bf1021f..cc7bd44a8ca25c8938a2d7a28b7335a24c5fda72 100644 (file)
@@ -26,27 +26,14 @@ typedef int pid_t;
 #define G_SEARCHPATH_SEPARATOR_S ";"
 #define G_SEARCHPATH_SEPARATOR   ';'
 #define G_GSIZE_FORMAT   "d"
-#define G_GUINT64_FORMAT "d"
-#define G_GINT64_FORMAT "d"
 #define GPOINTER_TO_INT(ptr)   ((gint)(intptr_t) (ptr))
 #define GPOINTER_TO_UINT(ptr)  ((guint)(intptr_t) (ptr))
 #define GINT_TO_POINTER(v)     ((gpointer)(intptr_t) (v))
 #define GUINT_TO_POINTER(v)    ((gpointer)(intptr_t) (v))
 
-/* VS 2010 and later have stdint.h */
-#if defined(_MSC_VER) && _MSC_VER < 1600
-#define INT32_MAX 2147483647
-#define INT32_MIN (~ INT32_MAX)
-#define INT64_MAX 9223372036854775807i64
-#define INT64_MIN (~INT64_MAX)
-#define UINT32_MAX 0xffffffffU
-#define UINT64_MAX 0xffffffffffffffffULL
-#endif
-
 #define STDOUT_FILENO (int)(intptr_t)stdout
 #define STDERR_FILENO (int)(intptr_t)stderr
 
-
 /* FIXME: what should this be ?*/
 #define X_OK 4 /* This is really read */
 #define WNOHANG 1
@@ -65,8 +52,6 @@ typedef int pid_t;
 #undef G_HAVE_STRNDUP
 #define G_HAVE_GETOPT_H 1
 
-int vasprintf(char **ret, const char *fmt, va_list ap);
-
 /* disable the following warnings 
  * C4100: The formal parameter is not referenced in the body of the function. The unreferenced parameter is ignored. 
  * C4127: conditional expression is constant
@@ -75,5 +60,4 @@ int vasprintf(char **ret, const char *fmt, va_list ap);
 #endif
 
 typedef void * GPid;
-
 #endif