]> sjero.net Git - iperf/blobdiff - src/Settings.cpp
Remove Win32 Support
[iperf] / src / Settings.cpp
index 244b2a5fecd0000136b5c28c8ee52687997e7ebe..2b71693c70c132b6fd49554908107a00ab069d4c 100644 (file)
@@ -373,12 +373,7 @@ void Settings_Interpret( char option, const char *optarg, thread_Settings *mExtS
             break;
 
         case 'h': // print help and exit
-#ifndef WIN32
             fprintf( stderr, usage_long );
-#else
-            fprintf(stderr, usage_long1);
-            fprintf(stderr, usage_long2);
-#endif
             exit(1);
             break;
 
@@ -761,11 +756,7 @@ void Settings_GenerateClientSettings( thread_Settings *server,
         (*client)->mAmount     = ntohl(hdr->mAmount);
         if ( ((*client)->mAmount & 0x80000000) > 0 ) {
             setModeTime( (*client) );
-#ifndef WIN32
             (*client)->mAmount |= 0xFFFFFFFF00000000LL;
-#else
-            (*client)->mAmount |= 0xFFFFFFFF00000000;
-#endif
             (*client)->mAmount = -(*client)->mAmount;
         }
         (*client)->mFileName   = NULL;