mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-01-31 12:40:56 +00:00
#pragmas are for som Windows compiler. Until we know what compiler we #ifdef them out like this.
This commit is contained in:
parent
67f8201590
commit
f2d4e5f06a
1 changed files with 2 additions and 0 deletions
|
@ -19,9 +19,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
*/
|
||||
// disable data conversion warnings
|
||||
|
||||
#if !defined(__GNUC__) && !defined(__unix) && !defined(__unix__)
|
||||
#pragma warning(disable : 4244) // MIPS
|
||||
#pragma warning(disable : 4136) // X86
|
||||
#pragma warning(disable : 4051) // ALPHA
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
|
|
Loading…
Reference in a new issue