summaryrefslogtreecommitdiff
path: root/dmake/stdmacs.h
diff options
context:
space:
mode:
authorKen Foskey <waratah@openoffice.org>2002-10-03 11:29:49 +0000
committerKen Foskey <waratah@openoffice.org>2002-10-03 11:29:49 +0000
commitfa2027fb0ac817455bb289345c369f8dbc378ee2 (patch)
treea3f1d877495079497766073f4f3f68000dfbd423 /dmake/stdmacs.h
parentcd4c8bcdb73c5e3db92bd4333e40cfb20b34d6a0 (diff)
dmake: This is a reworked version of the configure process, without automake and aclocal
Diffstat (limited to 'dmake/stdmacs.h')
-rw-r--r--dmake/stdmacs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dmake/stdmacs.h b/dmake/stdmacs.h
index a2b6aa3dfa9b..f1afd48e8f6b 100644
--- a/dmake/stdmacs.h
+++ b/dmake/stdmacs.h
@@ -1,4 +1,4 @@
-/* RCS $Id: stdmacs.h,v 1.1.1.1 2000-09-22 15:33:25 hr Exp $
+/* RCS $Id: stdmacs.h,v 1.2 2002-10-03 12:29:44 waratah Exp $
--
-- SYNOPSIS
-- General use macros.
@@ -43,7 +43,8 @@
#define NIL(p) ((p*)NULL)
-#if !defined(atarist) && !defined(__STDDEF_H)
+/* Cygwin defines _STDDEF_H with only one leading '_' */
+#if !defined(atarist) && !defined(__STDDEF_H) && !defined(_STDDEF_H)
#define offsetof(type,id) ((size_t)&((type*)NULL)->id)
#endif