aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgenerate_debug_h.sh4
-rwxr-xr-xgenerate_version_h.sh1
2 files changed, 1 insertions, 4 deletions
diff --git a/generate_debug_h.sh b/generate_debug_h.sh
index 181b920..8a93930 100755
--- a/generate_debug_h.sh
+++ b/generate_debug_h.sh
@@ -109,9 +109,6 @@ do
echo " #define NEED_STDIO_H"
echo " #endif"
echo " #ifdef SET_DEBUG_PRINT_TIME"
-# echo " #ifdef NEED_DEBUG_HELPER"
-# echo " #undef NEED_DEBUG_HELPER"
-# echo " #endif"
echo " #ifndef NEED_DEBUG_HELPER"
echo " #define NEED_DEBUG_HELPER"
echo " #endif"
@@ -151,7 +148,6 @@ echo ""
echo "// Debug timestamps definition"
echo "#ifdef SET_DEBUG_PRINT_TIME"
-#echo "#define NEED_DEBUG_HELPER"
echo " #define DEBUG_PRINT_TIME $DEBUG_HELPER;"
echo "#else"
echo " #define DEBUG_PRINT_TIME"
diff --git a/generate_version_h.sh b/generate_version_h.sh
index cbf1a0a..3846c55 100755
--- a/generate_version_h.sh
+++ b/generate_version_h.sh
@@ -50,6 +50,7 @@ echo "#define VERSION \"$VERSION\""
echo "#define HASH \"$HASH\""
echo "#define BRANCH \"$BRANCH\""
echo "#define VERSION_FULL VERSION\"-\"HASH\" (\"BRANCH\")\""
+echo ""
echo "char* version();"
echo ""
echo "#endif"