diff options
author | sapier <Sapier at GMX dot net> | 2014-04-11 21:45:30 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-04-11 21:45:30 +0200 |
commit | 8bb8602c2533384fdd5ecb95edc5156808a34db5 (patch) | |
tree | 5475b988e5acc216b06b55e5891a2705e1389150 /src | |
parent | fefec8cdc44b7fe32754053bac02c18cfe5a22f7 (diff) | |
download | minetest-8bb8602c2533384fdd5ecb95edc5156808a34db5.tar.gz minetest-8bb8602c2533384fdd5ecb95edc5156808a34db5.tar.bz2 minetest-8bb8602c2533384fdd5ecb95edc5156808a34db5.zip |
Fix broken win32+bsd build
Diffstat (limited to 'src')
-rw-r--r-- | src/porting.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/porting.h b/src/porting.h index 5739b6876..9024570bd 100644 --- a/src/porting.h +++ b/src/porting.h @@ -278,13 +278,13 @@ inline void setThreadName(const char* name) { * to add this feature please create a pull request. * "setproctitle" doesn't work for threadnames. */ -#define setThreadName(a) +inline void setThreadName(const char* name) {} #elif defined(_WIN32) // threadnames are not supported on windows -#define setThreadName(a) +inline void setThreadName(const char* name) {} #else #warning "Unknown platform for setThreadName support, you wont have threadname support." -#define setThreadName(a) +inline void setThreadName(const char* name) {} #endif } // namespace porting |