Define NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog
  Define NULL in msvcrt's stdlib.h if it's not defined already.

Index: include/msvcrt/stdlib.h
===================================================================
RCS file: /var/cvs/wine/include/msvcrt/stdlib.h,v
retrieving revision 1.8
diff -u -r1.8 stdlib.h
--- include/msvcrt/stdlib.h     18 Dec 2002 20:17:20 -0000      1.8
+++ include/msvcrt/stdlib.h     29 Dec 2002 07:41:01 -0000
@@ -17,6 +17,14 @@
 # endif
 #endif

+#ifndef NULL
+#ifdef __cplusplus
+#define NULL  0
+#else
+#define NULL  ((void*)0)
+#endif
+#endif
+
 #ifndef MSVCRT_WCHAR_T_DEFINED
 #define MSVCRT_WCHAR_T_DEFINED
 #ifndef __cplusplus

-- 
Dimi.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux