diff options
author | Rogier <rogier777@gmail.com> | 2016-12-13 23:16:26 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-12-24 00:32:50 +0000 |
commit | 4d4b8bb8a46b6472d86fa848954dbc26b4fadb50 (patch) | |
tree | 1f6bff842b0ee81027de44d7c27e16a8e4518bbc /src/environment.cpp | |
parent | 2f59a0c840e9101c87e2d59fabf34116b3328121 (diff) | |
download | minetest-4d4b8bb8a46b6472d86fa848954dbc26b4fadb50.tar.gz minetest-4d4b8bb8a46b6472d86fa848954dbc26b4fadb50.tar.bz2 minetest-4d4b8bb8a46b6472d86fa848954dbc26b4fadb50.zip |
Move PP() and PP2() macros to basic_macros.h
Instead of redefining them everywhere.
Diffstat (limited to 'src/environment.cpp')
-rw-r--r-- | src/environment.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/environment.cpp b/src/environment.cpp index 3d4a2efc1..707d89659 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -44,10 +44,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "map.h" #include "emerge.h" #include "util/serialize.h" +#include "util/basic_macros.h" #include "threading/mutex_auto_lock.h" -#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")" - #define LBM_NAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyz0123456789_:" // A number that is much smaller than the timeout for particle spawners should/could ever be |