summaryrefslogtreecommitdiff
path: root/dmake/stdmacs.h
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-04-20 11:02:29 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-04-20 11:02:29 +0000
commit3e58ba80801e9d88d5e1340a6f6783bdee8d427f (patch)
tree33ddb084748df6e0f49c63018f6c36d36393f143 /dmake/stdmacs.h
parentff5189a6a3a8c6bc76cf871b62f723314466f597 (diff)
INTEGRATION: CWS dmake43p01 (1.4.6); FILE MERGED
2005/04/22 04:22:27 vq 1.4.6.1: Issue number: 47866 Submitted by: shay@openoffice.org, vq@openoffice.org Fix MSVC compiler warnings.
Diffstat (limited to 'dmake/stdmacs.h')
-rw-r--r--dmake/stdmacs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/dmake/stdmacs.h b/dmake/stdmacs.h
index 0af37686828f..3ce3623e5ad7 100644
--- a/dmake/stdmacs.h
+++ b/dmake/stdmacs.h
@@ -1,6 +1,6 @@
/* $RCSfile: stdmacs.h,v $
--- $Revision: 1.4 $
--- last change: $Author: rt $ $Date: 2004-09-08 16:07:37 $
+-- $Revision: 1.5 $
+-- last change: $Author: hr $ $Date: 2006-04-20 12:02:29 $
--
-- SYNOPSIS
-- General use macros.
@@ -37,7 +37,8 @@
#define __STDC__ 0
#endif
-#if __STDC__ || defined(__TURBOC__) || defined(__IBMC__)
+/* MSVC 6 and newer understand ANSI prototypes */
+#if __STDC__ || defined(__TURBOC__) || defined(__IBMC__) || defined (_MSC_VER)
#define ANSI(x) x
#else
#define ANSI(x) ()