Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2017-09-16 15:44:03 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2017-09-16 15:44:03 +0300
commit0fada5b8534da5c69a598aa465db1fe16b6cc6ef (patch)
tree63cb5b51cffc875463c59b02dcccd5cb8e76b531
parent2b8c01f1ebf06f7c67ad29f51a4e2b5cd095c47e (diff)
Mac OS X build fix
-rw-r--r--tests/without_64bit/no_64bit_syshdr.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/without_64bit/no_64bit_syshdr.h b/tests/without_64bit/no_64bit_syshdr.h
index 50c0717..970178f 100644
--- a/tests/without_64bit/no_64bit_syshdr.h
+++ b/tests/without_64bit/no_64bit_syshdr.h
@@ -1,8 +1,5 @@
/* This wrapper undefines (u)int64_t */
-#define uint64_t disabled_uint64_t
-#define int64_t disabled_int64_t
-
#ifdef PB_OLD_SYSHDR
#include PB_OLD_SYSHDR
#else
@@ -12,6 +9,6 @@
#include <string.h>
#endif
-#undef uint64_t
-#undef int64_t
+#define uint64_t disabled_uint64_t
+#define int64_t disabled_int64_t