Revision 1567 trunk/src/df1b2-separable/smartbuf.cpp

smartbuf.cpp (revision 1567)
11 11
#define HOME_VERSION
12 12
#include "fvar.hpp"
13 13
#include "smartbuf.h"
14
#ifdef __MSVC32__
14
#ifdef _MSC_VER
15 15
  #define lseek _lseek
16 16
  #define  read _read
17 17
  #define write _write
......
85 85
#include <fcntl.h>
86 86
#include <sys/stat.h>
87 87
#include <sys/types.h>
88
#ifndef __MSVC32__
88
#ifndef __MSC_VER
89 89
#include <unistd.h>
90 90
#endif
91 91
#endif
......
315 315
 */
316 316
void byte_copy(void* dest, void* source, unsigned num_bytes)
317 317
{
318
#if !defined (__SUN__) && !defined (__WAT32__) && !defined(__ADSGI__) && !defined (__MSVC32__) && !defined(linux)
318
#if !defined (__SUN__) && !defined (__WAT32__) && !defined(__ADSGI__) && !defined (_MSC_VER) && !defined(linux)
319 319
  char* pdest = (char*)dest;
320 320
  char* psource = (char*)source;
321 321
  int ii=0;

Also available in: Unified diff