summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-20 16:13:54 +0100
committerHaru <haru@dotalux.com>2016-02-20 16:13:54 +0100
commit8aa074958fc2162553055c4083f7696dab12161f (patch)
tree1925fbd4ae83c971a7578ad27c19b85015c79b18 /src/common
parentc235a3034ed8c49bd03bc01a18a9788e802baea4 (diff)
downloadhercules-8aa074958fc2162553055c4083f7696dab12161f.tar.gz
hercules-8aa074958fc2162553055c4083f7696dab12161f.tar.bz2
hercules-8aa074958fc2162553055c4083f7696dab12161f.tar.xz
hercules-8aa074958fc2162553055c4083f7696dab12161f.zip
Added explicit c99 mode to CFLAGS in the configure script
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cbasetypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h
index 61d0646eb..6843ce486 100644
--- a/src/common/cbasetypes.h
+++ b/src/common/cbasetypes.h
@@ -94,7 +94,7 @@
// debug function name
#ifndef __NETBSD__
-#if __STDC_VERSION__ < 199901L
+#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
# if __GNUC__ >= 2
# define __func__ __FUNCTION__
# else