summaryrefslogtreecommitdiff
path: root/win32/config_H.vc
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2011-08-31 18:48:37 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2011-08-31 18:48:37 +0100
commit925798f29c677c612a63a08a92ebb5f169e27b02 (patch)
tree1468cfe23a68841be617dba7bd4510250901e964 /win32/config_H.vc
parent43c6b706eae7899eff9414f3bbb9e5ef095a07fd (diff)
downloadperl-925798f29c677c612a63a08a92ebb5f169e27b02.tar.gz
Preliminary cleanup of win32/config*.* prior to updating them fully
- Set lseeksize/lseektype to 4/long in new gc64* files (see f7e8b52a89) - Add missing NULL parameter in new gc64* files (see e6a0bbf8b4) - Change new gc64* files to a minimal setup (see d64224560b and 17bdc11416) - Make the order of the __GNUC__ / _MSC_VER logic consistent - Add __GNUC__ magic to vc64 (since new gc64* files have _MSC_VER magic)
Diffstat (limited to 'win32/config_H.vc')
-rw-r--r--win32/config_H.vc9
1 files changed, 4 insertions, 5 deletions
diff --git a/win32/config_H.vc b/win32/config_H.vc
index c19a201f52..53889c8003 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -911,7 +911,7 @@
/* HAS_QUAD:
* This symbol, if defined, tells that there's a 64-bit integer type,
* Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one
- * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T
+ * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, QUAD_IS_INT64_T,
* or QUAD_IS___INT64.
*/
#define HAS_QUAD /**/
@@ -3122,11 +3122,10 @@
* static _inline (older MSVC)
* static (c89 compilers)
*/
-#ifdef _MSC_VER
-# define HAS_STATIC_INLINE /**/
+#define HAS_STATIC_INLINE /**/
+#ifndef __GNUC__
# define PERL_STATIC_INLINE static __inline /**/
-#else /* gcc presumably */
-# define HAS_STATIC_INLINE /**/
+#else
# define PERL_STATIC_INLINE static __inline__ /**/
#endif