aboutsummaryrefslogtreecommitdiff
path: root/src/espik_global.h
diff options
context:
space:
mode:
authorbeber <beber>2005-12-01 20:22:19 +0000
committerbeber <beber>2005-12-01 20:22:19 +0000
commit1d217fb1cf5b137fe0758015e90e4f38a5a0ba62 (patch)
treecf92fb109d6bc4cb81a66fa1d542efae34c1fc53 /src/espik_global.h
parentmore debug infos (diff)
downloadespik-1d217fb1cf5b137fe0758015e90e4f38a5a0ba62.tar.xz
Add a macro for __attribute__
Check if valgrinf is here Indent More debug and do better use config.h del ^_ from header
Diffstat (limited to '')
-rw-r--r--src/espik_global.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/espik_global.h b/src/espik_global.h
index f6fecaf..fa53639 100644
--- a/src/espik_global.h
+++ b/src/espik_global.h
@@ -1,19 +1,20 @@
-#ifndef _HAVE_ESPIK_GLOBAL_H
-#define _HAVE_ESPIK_GLOBAL_H
+#ifndef HAVE_ESPIK_GLOBAL_H
+#define HAVE_ESPIK_GLOBAL_H
-#define APPS_NAME "espik"
-#define ESPIK_VERSION "0.0.1"
+#include "../config.h"
-#define MAX_LEN 512
+#define APPS_NAME PACKAGE
+#define ESPIK_VERSION VERSION
+
+#define MAX_LEN 512
#define _ESPIK_DEBUG_ 1
-/*#if HAVE___ATTRIBUTE__ */
-# define __UNUSED__ __attribute__((unused))
-/*
+
+#if HAVE___ATTRIBUTE__
+# define __UNUSED__ __attribute__((unused))
#else
-# define __UNUSED__
-#endif
-*/
+# define __UNUSED__
+#endif /* HAVE___ATTRIBUTE__ */
-#endif /* _HAVE_ESPIK_GLOBAL_H */
+#endif /* HAVE_ESPIK_GLOBAL_H */