summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/_stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include/_stdint.h')
-rw-r--r--sys/powerpc/include/_stdint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/include/_stdint.h b/sys/powerpc/include/_stdint.h
index 6ad1fd2..9928a1a 100644
--- a/sys/powerpc/include/_stdint.h
+++ b/sys/powerpc/include/_stdint.h
@@ -65,6 +65,7 @@
#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)
+#ifndef __INT64_C
#ifdef __LP64__
#define __INT64_C(c) (c ## L)
#define __UINT64_C(c) (c ## UL)
@@ -72,6 +73,7 @@
#define __INT64_C(c) (c ## LL)
#define __UINT64_C(c) (c ## ULL)
#endif
+#endif
/*
* ISO/IEC 9899:1999
OpenPOWER on IntegriCloud