X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fthreads.h;h=18789cf0caca5b73d93549a97c50a974547d148a;hb=4e1f50035e860a00636ca5d804c267119df99601;hp=e79404aa23be59733d5e05fbec2704575721b7f9;hpb=037b2591971d752e67fa7d47095b996b3f56da5a;p=dragonfireclient.git diff --git a/src/threads.h b/src/threads.h index e79404aa2..18789cf0c 100644 --- a/src/threads.h +++ b/src/threads.h @@ -1,6 +1,6 @@ /* -Minetest-c55 -Copyright (C) 2010 celeron55, Perttu Ahola +Minetest +Copyright (C) 2013 celeron55, Perttu Ahola This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -24,12 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #if (defined(WIN32) || defined(_WIN32_WCE)) typedef DWORD threadid_t; -#define __NORETURN __declspec(noreturn) -#define __FUNCTION_NAME __FUNCTION__ #else typedef pthread_t threadid_t; -#define __NORETURN __attribute__ ((__noreturn__)) -#define __FUNCTION_NAME __PRETTY_FUNCTION__ #endif inline threadid_t get_current_thread_id()