From ab7afae2a81c35d61d7c9cb6c6cc216180bb4524 Mon Sep 17 00:00:00 2001
From: helge <helgewurst@web.de>
Date: 摹曛, 04 11月 2021 21:37:49 +0800
Subject: [PATCH] move port number definitions to header

---
 libscpi/inc/scpi/config.h |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/libscpi/inc/scpi/config.h b/libscpi/inc/scpi/config.h
index 70e4097..c391e12 100644
--- a/libscpi/inc/scpi/config.h
+++ b/libscpi/inc/scpi/config.h
@@ -100,6 +100,10 @@
 #ifndef USE_MEMORY_ALLOCATION_FREE
 #define USE_MEMORY_ALLOCATION_FREE 1
 #endif
+#else
+#ifndef USE_MEMORY_ALLOCATION_FREE
+#define USE_MEMORY_ALLOCATION_FREE 0
+#endif
 #endif
 
 #ifndef USE_COMMAND_TAGS
@@ -110,8 +114,8 @@
 #define USE_DEPRECATED_FUNCTIONS 1
 #endif
 
-#ifndef USE_CUSTOM_DTOSTR
-#define USE_CUSTOM_DTOSTR 0
+#ifndef USE_CUSTOM_DTOSTRE
+#define USE_CUSTOM_DTOSTRE 0
 #endif
 
 #ifndef USE_UNITS_IMPERIAL

--
Gitblit v1.9.1