projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aa119d
)
undef NULL to fix compilation problems on FreeBSD after 08d39dd. (#14341)
author
Tomas Weinfurt
<tweinfurt@yahoo.com>
Fri, 6 Oct 2017 20:30:24 +0000
(13:30 -0700)
committer
Jan Vorlicek
<janvorli@microsoft.com>
Fri, 6 Oct 2017 20:30:24 +0000
(22:30 +0200)
* undef NULL to fix compilation problems on FreeBSD after 08d39dd.
* remove unneccesary #ifndef NULL
src/pal/inc/pal.h
patch
|
blob
|
history
diff --git
a/src/pal/inc/pal.h
b/src/pal/inc/pal.h
index
1a1b6c8
..
8f6bc12
100644
(file)
--- a/
src/pal/inc/pal.h
+++ b/
src/pal/inc/pal.h
@@
-277,17
+277,13
@@
PAL_IsDebuggerPresent(VOID);
#define _UI32_MAX UINT_MAX
#define _UI32_MIN UINT_MIN
-#ifdef PAL_STDCPP_COMPAT
#undef NULL
-#endif
-#ifndef NULL
#if defined(__cplusplus)
#define NULL 0
#else
#define NULL ((void *)0)
#endif
-#endif
#if defined(PAL_STDCPP_COMPAT) && !defined(__cplusplus)
#define nullptr NULL