Ignore:
Timestamp:
Nov 30, 2014, 8:08:20 PM (8 years ago)
Author:
mikedld
Message:

#5722: Rename remaining WIN32 uses to _WIN32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/file-test.c

    r14332 r14348  
    1010#include <string.h>
    1111
    12 #ifndef WIN32
     12#ifndef _WIN32
    1313 #include <sys/types.h>
    1414 #include <sys/stat.h>
     
    2424#include "libtransmission-test.h"
    2525
    26 #ifndef WIN32
     26#ifndef _WIN32
    2727 #define NATIVE_PATH_SEP "/"
    2828#else
     
    4343create_symlink (const char * dst_path, const char * src_path, bool dst_is_dir)
    4444{
    45 #ifndef WIN32
     45#ifndef _WIN32
    4646
    4747  (void) dst_is_dir;
     
    7272create_hardlink (const char * dst_path, const char * src_path)
    7373{
    74 #ifndef WIN32
     74#ifndef _WIN32
    7575
    7676  return link (src_path, dst_path) != -1;
     
    110110      const char * slashPos = strchr (p, '/');
    111111
    112 #ifdef WIN32
     112#ifdef _WIN32
    113113
    114114      const char * backslashPos = strchr (p, '\\');
     
    618618  tr_free (name);
    619619
    620 #ifdef WIN32
     620#ifdef _WIN32
    621621
    622622  name = tr_sys_path_basename ("c:\\a\\b\\c", &err);
Note: See TracChangeset for help on using the changeset viewer.