Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: wakaama/liblwm2m.h
- Revision:
- 10:df97539c6ddd
- Parent:
- 3:a280069151ac
- Child:
- 11:1fadb70654a6
diff -r 917e1705e5c2 -r df97539c6ddd wakaama/liblwm2m.h
--- a/wakaama/liblwm2m.h Fri Apr 28 18:30:50 2017 +0800
+++ b/wakaama/liblwm2m.h Wed May 03 18:24:09 2017 +0800
@@ -56,6 +56,7 @@
#ifdef __cplusplus
extern "C" {
#endif
+#define MBED_OS_EXAMPLE_WAKAAMA
#include <stdint.h>
#include <stddef.h>
@@ -63,13 +64,10 @@
#include <time.h>
+//////////////////////////////////////////////////
+#ifdef MBED_OS_EXAMPLE_WAKAAMA
#include <stdlib.h>
#include <string.h>
-
-//////////////////////////////////////////////////
-#define MBED_OS_EXAMPLE_WAKAAMA
-
-#ifdef MBED_OS_EXAMPLE_WAKAAMA
// Global definitions
#define LWM2M_LITTLE_ENDIAN
#define LWM2M_CLIENT_MODE