diff options
| author | xHire <xhire@tuxportal.cz> | 2009-05-24 20:13:33 +0200 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2009-05-26 01:11:54 +0200 |
| commit | b992c007c186fddf31f67a7ed0bd5789cfb9b85e (patch) | |
| tree | 8afca953f70438207634bc9a1e073bbeafe47ad6 /src/base/main.h | |
| parent | 6ac111e0ed67187554ead8cccc241029465e8979 (diff) | |
Rectified the coding style in base .h files
Diffstat (limited to 'src/base/main.h')
| -rw-r--r-- | src/base/main.h | 52 |
1 files changed, 25 insertions, 27 deletions
diff --git a/src/base/main.h b/src/base/main.h index 8ea3afa..fb23218 100644 --- a/src/base/main.h +++ b/src/base/main.h @@ -1,34 +1,31 @@ - #ifndef MAIN_H -# define MAIN_H -# define WINDOW_SIZE_X 800 -# define WINDOW_SIZE_Y 600 -# ifdef NLS -# define _(text) gettext(text) -# else -# define _(text) (text) -# endif - -# ifdef NLS -# include <libintl.h> -# include <locale.h> -# endif -# include "bool.h" -# include "string_length.h" -# include "path.h" - - -//#define SUPPORT_OPENGL +#define MAIN_H -#ifdef DEBUG -#define DEBUG_MSG(msg,arg...) printf(msg, ##arg) -#endif +#ifdef NLS +#include <libintl.h> +#include <locale.h> +#endif /* NLS */ + +#include "bool.h" +#include "string_length.h" +#include "path.h" + +#define WINDOW_SIZE_X 800 +#define WINDOW_SIZE_Y 600 -#ifndef DEBUG +#ifdef NLS +#define _(text) gettext(text) +#else /* NLS */ +#define _(text) (text) +#endif /* NLS */ + +#ifdef DEBUG +#define DEBUG_MSG(msg,arg...) printf(msg, ##arg) +#else /* DEBUG */ #define DEBUG_MSG(msg,arg...) -#endif +#endif /* DEBUG */ -#define UNUSED(var) if( 0 && var ){} +#define UNUSED(var) if (0 && var) {} extern char *getParam(char *s); @@ -39,4 +36,5 @@ extern int *newInt(int x); extern int isFillPath(const char *path); extern void accessExistFile(const char *s); extern int tryExistFile(const char *s); -#endif + +#endif /* MAIN_H */ |