Permalink
Browse files

Improve the header guard in the config.in.h

  • Loading branch information...
astoeckel committed Jan 21, 2016
1 parent 6900b1c commit 469bcbb9c41eccbad0411e8c0a91df791022d237
Showing with 5 additions and 12 deletions.
  1. +2 −0 .gitignore
  2. +0 −9 src/config.h
  3. +3 −3 src/config.h.in
View
@@ -1 +1,3 @@
build
+src/config.h
+
View
@@ -1,9 +0,0 @@
-#ifndef _ACINERELLA_CONFIG_H_
-#define _ACINERELLA_CONFIG_H_
-
-#define PLATFORM_LINUX 1
-#define PLATFORM_WINDOWS 2
-
-#define __PLATFORM PLATFORM_LINUX
-
-#endif /* _ACINERELLA_CONFIG_H_ */
View
@@ -1,9 +1,9 @@
-#ifndef CONFIG_H
-#define CONFIG_H
+#ifndef _ACINERELLA_CONFIG_H_
+#define _ACINERELLA_CONFIG_H_
#define PLATFORM_LINUX 1
#define PLATFORM_WINDOWS 2
#define __PLATFORM ${__PLATFORM}
-#endif /* CONFIG.H */
+#endif /* _ACINERELLA_CONFIG_H_ */

0 comments on commit 469bcbb

Please sign in to comment.