summaryrefslogtreecommitdiff
path: root/src/pal/inc/pal.h
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2019-05-17 07:46:51 -0700
committerGitHub <noreply@github.com>2019-05-17 07:46:51 -0700
commitb096720dd31869789bd354d00dc15ae47abd2a54 (patch)
tree19327a7942c3e195934babf43002d7a342c03d65 /src/pal/inc/pal.h
parentcbeb928cb05982edc71ed8ab80ef13d7f142cffa (diff)
parent3ca5ca3a2289585f08af29c425f7dbb93621e3f9 (diff)
downloadcoreclr-b096720dd31869789bd354d00dc15ae47abd2a54.tar.gz
coreclr-b096720dd31869789bd354d00dc15ae47abd2a54.tar.bz2
coreclr-b096720dd31869789bd354d00dc15ae47abd2a54.zip
Merge pull request #24520 from am11/freebsd/set-affinity
Fix CPUSET_T definition for FreeBSD
Diffstat (limited to 'src/pal/inc/pal.h')
-rw-r--r--src/pal/inc/pal.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h
index 97091bf3b0..540b5c6dcd 100644
--- a/src/pal/inc/pal.h
+++ b/src/pal/inc/pal.h
@@ -37,6 +37,7 @@ Abstract:
#define __PAL_H__
#ifdef PAL_STDCPP_COMPAT
+#include <limits.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
@@ -256,19 +257,6 @@ typedef char * va_list;
#endif // __GNUC__
-#endif // !PAL_STDCPP_COMPAT
-
-/******************* PAL-Specific Entrypoints *****************************/
-
-#define IsDebuggerPresent PAL_IsDebuggerPresent
-
-PALIMPORT
-BOOL
-PALAPI
-PAL_IsDebuggerPresent(VOID);
-
-#define MAXIMUM_SUSPEND_COUNT MAXCHAR
-
#define CHAR_BIT 8
#define SCHAR_MIN (-128)
@@ -287,6 +275,17 @@ PAL_IsDebuggerPresent(VOID);
#define LONG_MAX 2147483647L
#define ULONG_MAX 0xffffffffUL
+#endif // !PAL_STDCPP_COMPAT
+
+/******************* PAL-Specific Entrypoints *****************************/
+
+#define IsDebuggerPresent PAL_IsDebuggerPresent
+
+PALIMPORT
+BOOL
+PALAPI
+PAL_IsDebuggerPresent(VOID);
+
#define FLT_MAX 3.402823466e+38F
#define DBL_MAX 1.7976931348623157e+308