Ticket #3439: vs2015.diff
File vs2015.diff, 1.4 KB (added by , 8 years ago) |
---|
-
source/lib/sysdep/os/win/wdll_delay_load.cpp
1 /* Copyright (c) 201 3Wildfire Games1 /* Copyright (c) 2015 Wildfire Games 2 2 * 3 3 * Permission is hereby granted, free of charge, to any person obtaining 4 4 * a copy of this software and associated documentation files (the … … 36 36 //----------------------------------------------------------------------------- 37 37 // delay loading (modified from VC7 DelayHlp.cpp and DelayImp.h) 38 38 39 #if MSC_VERSION && MSC_VERSION>= 170039 #if MSC_VERSION >= 1700 40 40 // FACILITY_VISUALCPP is already defined in winerror.h in VC2012 41 41 # undef FACILITY_VISUALCPP 42 42 #endif -
source/lib/sysdep/os/win/wposix/wtime.h
58 58 } 59 59 clockid_t; 60 60 61 #if MSC_VERSION >= 1900 62 # include <time.h> 63 #else 61 64 // POSIX realtime clock_* 62 65 struct timespec 63 66 { 64 67 time_t tv_sec; 65 68 long tv_nsec; 66 69 }; 70 #endif 67 71 68 72 extern int nanosleep(const struct timespec* rqtp, struct timespec* rmtp); 69 73 extern int clock_gettime(clockid_t clock, struct timespec* ts);