Skip to content

Commit

Permalink
[12341] Fix compile for vmap_assembler and mmap generator.
Browse files Browse the repository at this point in the history
Thanks to NicolasQuasar for pointing. Close #61

Signed-off-by: Schmoozerd <schmoozerd@cmangos>
  • Loading branch information
Schmoozerd committed Jan 21, 2013
1 parent e60faad commit 12b9593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/game/vmap/VMapDefinitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,16 @@ namespace VMAP
#define MANGOS_ASSERT(x) assert(x)
#define DEBUG_LOG(...) 0
#define DETAIL_LOG(...) 0
#define LOG_FILTER_MAP_LOADING true
#define DEBUG_FILTER_LOG(F,...) do{ if (F) DEBUG_LOG(__VA_ARGS__); } while(0)
#define ERROR_LOG(...) do{ printf("ERROR:"); printf(__VA_ARGS__); printf("\n"); } while(0)
#else
#include <assert.h>
#define MANGOS_ASSERT(x) assert(x)
#define DEBUG_LOG(...) do{ printf(__VA_ARGS__); printf("\n"); } while(0)
#define DETAIL_LOG(...) do{ printf(__VA_ARGS__); printf("\n"); } while(0)
#define LOG_FILTER_MAP_LOADING true
#define DEBUG_FILTER_LOG(F,...) do{ if (F) DEBUG_LOG(__VA_ARGS__); } while(0)
#define ERROR_LOG(...) do{ printf("ERROR:"); printf(__VA_ARGS__); printf("\n"); } while(0)
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12340"
#define REVISION_NR "12341"
#endif // __REVISION_NR_H__

0 comments on commit 12b9593

Please sign in to comment.