Rename None to Null because of conflict with an xlib.h macro

This commit is contained in:
vitaut
2015-07-07 07:05:17 -07:00
parent 7859f81233
commit c669cbedf8
3 changed files with 12 additions and 9 deletions

View File

@@ -42,6 +42,9 @@
#include "gmock/gmock.h"
// Test that the library compiles if None is defined to 0 as done by xlib.h.
#define None 0
#include "format.h"
#include "util.h"
#include "mock-allocator.h"