add patch for glibconfig.h

This commit is contained in:
berkeviktor@aol.com 2010-09-29 03:34:42 +02:00
parent 6e62006b26
commit 3d8d13c366
1 changed files with 16 additions and 0 deletions

16
glibconfig.h.patch Normal file
View File

@ -0,0 +1,16 @@
--- glibconfig.h.orig 2010-09-27 22:23:56 +0000
+++ glibconfig.h 2010-09-29 01:31:32 +0000
@@ -107,9 +107,13 @@
#ifdef __cplusplus
#define G_HAVE_INLINE 1
#else /* !__cplusplus */
+#ifndef _MSC_VER
#define G_HAVE_INLINE 1
+#endif /* _MSC_VER */
#define G_HAVE___INLINE 1
+#if !defined(_MSC_VER) && !defined(__DMC__)
#define G_HAVE___INLINE__ 1
+#endif /* !_MSC_VER and !__DMC__ */
#endif /* !__cplusplus */
#ifdef __cplusplus