aboutsummaryrefslogtreecommitdiff
path: root/src/espik_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/espik_global.h')
-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 */