aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2017-02-14 23:51:48 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2017-02-14 23:51:48 +0200
commit8fe0a3b672802ecbd75bdbcec4fed6a993f2af89 (patch)
tree6d8522007d5e1be0b452baad275fa4e3d15ab4f1 /src/config.h
parent7e0ff295f158e13b57462b00a24b79cc064b3e45 (diff)
downloadmqtt-8fe0a3b672802ecbd75bdbcec4fed6a993f2af89.tar.gz
mqtt-8fe0a3b672802ecbd75bdbcec4fed6a993f2af89.zip
Include config.h initially with MQTT_INLINE definition
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
new file mode 100644
index 0000000..984e260
--- /dev/null
+++ b/src/config.h
@@ -0,0 +1,10 @@
+#ifndef MQTT_CONFIG_H
+#define MQTT_CONFIG_H
+
+#if __STDC_VERSION__ < 199901L
+#define MQTT_INLINE __inline
+#else
+#define MQTT_INLINE inline
+#endif
+
+#endif