Changeset 346 for code/branches/FICN/src/network/dummyclient.cc
- Timestamp:
- Nov 29, 2007, 4:21:30 PM (18 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN
-
Property
svn:ignore
set to
FICN.sln
FICN.ncb
FICN.vcproj
FICN.vcproj.RGRIEDERT60.rgrieder.user
FICN.suo
obj
-
Property
svn:ignore
set to
-
code/branches/FICN/src/network/dummyclient.cc
r337 r346 8 8 #include <enet/enet.h> 9 9 #include "PacketManager.h" 10 11 // workaround for usleep(int) under windows 12 #ifdef WIN32 13 #include "winbase.h" 14 #endif 15 10 16 11 17 using namespace std; … … 67 73 cout << "failed sending" << endl; 68 74 } 75 // under windows, use Sleep(milliseconds) instead of usleep(microseconds) 76 #ifdef WIN32 77 Sleep(1000); 78 #else 69 79 usleep(1000000); 80 #endif 70 81 } 71 82
Note: See TracChangeset
for help on using the changeset viewer.