X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fgettime.h;h=f20728dfdab6628e46905f8f493dec82e3b7a6de;hb=0a83c42dfdf390cef75758096a481cdf8e2c828b;hp=4d5a02e1e253cfff34e0e7f5726f7959b6553055;hpb=ecf08255b0b6b9d15b86f614942ac8f53f41302a;p=minetest.git diff --git a/src/gettime.h b/src/gettime.h index 4d5a02e1e..f20728dfd 100644 --- a/src/gettime.h +++ b/src/gettime.h @@ -17,11 +17,10 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef GETTIME_HEADER -#define GETTIME_HEADER +#pragma once #include "irrlichttypes.h" -#include +#include #include enum TimePrecision @@ -42,5 +41,3 @@ inline std::string getTimestamp() strftime(cs, 20, "%Y-%m-%d %H:%M:%S", tm); return cs; } - -#endif