Ignore:
Timestamp:
2013-01-10T15:25:03+13:00 (11 years ago)
Author:
davidb
Message:

Code changed from using WIN32 use to _MSC_VER (the difference being the former is set for any Windows based compiler, whilst the latter is specifically set by a MicroSoft Visual Studio compiler). Up to this point the difference was not important, however to allow for cross-compilation (using mingw under Linux to produce native Windows binaries) the difference is imporant, and needs to be used more carefully

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/gdbmedit/gdbmset/gdbmset.cpp

    r22039 r26650  
    2424 *********************************************************************/
    2525
    26 #ifdef __WIN32__
     26#ifdef _MSC_VER
    2727#include "autoconf.h"
    2828#include "systems.h"
     
    8181 
    8282  // open the database
    83 #ifdef __WIN32__
     83#ifdef _MSC_VER
    8484  // On Windows need to make sure the database is generated if it does not already exist
    8585  // GDBM_WRCREAT flag means: open database for read/write, create if necessary
Note: See TracChangeset for help on using the changeset viewer.