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/gdbmget/gdbmget.cpp

    r22039 r26650  
    2424 *********************************************************************/
    2525
    26 #ifdef __WIN32__
     26#ifdef _MSC_VER
    2727#include "autoconf.h"
    2828#include "systems.h"
     
    7777 
    7878  // open the database
    79 #ifdef __WIN32__
     79#ifdef _MSC_VER
    8080  dbf = gdbm_open (argv[1], block_size, GDBM_READER, 00664, NULL, 0);
    8181#else
Note: See TracChangeset for help on using the changeset viewer.