projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prevent macro error
[platform/upstream/iotivity.git]
/
resource
/
csdk
/
stack
/
include
/
ocpayload.h
diff --git
a/resource/csdk/stack/include/ocpayload.h
b/resource/csdk/stack/include/ocpayload.h
index
b42d61f
..
80354f7
100755
(executable)
--- a/
resource/csdk/stack/include/ocpayload.h
+++ b/
resource/csdk/stack/include/ocpayload.h
@@
-21,8
+21,12
@@
#ifndef OCPAYLOAD_H_
#define OCPAYLOAD_H_
+#ifndef __STDC_FORMAT_MACROS
#define __STDC_FORMAT_MACROS
+#endif
+#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
+#endif
#include <stdbool.h>
#include <inttypes.h>
#include "octypes.h"