diff th_endian.h @ 49:598609fb49b0

Change how "config.h" is included, etc.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 03 Oct 2011 15:40:54 +0300
parents a25f5d22483e
children 1607c0691dee
line wrap: on
line diff
--- a/th_endian.h	Mon Oct 03 15:39:42 2011 +0300
+++ b/th_endian.h	Mon Oct 03 15:40:54 2011 +0300
@@ -5,14 +5,14 @@
  *
  * Please read file 'COPYING' for information on license and distribution.
  */
-#ifndef _TH_ENDIAN_H
-#define _TH_ENDIAN_H
+#ifndef TH_ENDIAN_H
+#define TH_ENDIAN_H
 
 #ifdef HAVE_CONFIG_H
-#  include "config.h"
+#include "config.h"
 #endif
+#include "th_types.h"
 #include <stdio.h>
-#include "th_types.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -118,4 +118,4 @@
 #ifdef __cplusplus
 }
 #endif
-#endif /* _TH_ENDIAN_H */
+#endif /* TH_ENDIAN_H */