Changeset 917 for cpp


Ignore:
Timestamp:
05/06/20 13:49:01 (4 years ago)
Author:
Maciej Komosinski
Message:

A bit more support for compilation under MinGW

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/config/sdk_build_config.h

    r826 r917  
    11// This file is a part of Framsticks SDK.  http://www.framsticks.com/
    2 // Copyright (C) 1999-2018  Maciej Komosinski and Szymon Ulatowski.
     2// Copyright (C) 1999-2020  Maciej Komosinski and Szymon Ulatowski.
    33// See LICENSE.txt for details.
    44
     
    1010#ifdef __APPLE__
    1111  #define MACOS
    12 #elif defined __linux || defined __CYGWIN__
     12#elif defined __linux || defined __CYGWIN__ || defined __MINGW32__
    1313  #define LINUX
    1414#endif
     15
     16#ifdef __MINGW32__
     17  #undef _WIN32 //assume that someone using MinGW to compile this SDK wants to pretend their system is Linux, not Windows
     18#endif
     19
    1520
    1621#define USE_PRINTFLOAT_DRAGON4
Note: See TracChangeset for help on using the changeset viewer.