Browse Source

VS2010 build: added sleep/usleep macros

nfactor-troky
troky 11 years ago committed by Noel Maersk
parent
commit
80d00323de
  1. 2
      winbuild/dist/include/config.h

2
winbuild/dist/include/config.h vendored

@ -203,6 +203,8 @@ inline void* memmem (void* buf, size_t buflen, void* pat, size_t patlen)
return 0; return 0;
} }
#define usleep(x) Sleep((x)/1000)
#define sleep(x) Sleep((x)*1000)
#endif #endif

Loading…
Cancel
Save