Skip to content

Commit

Permalink
Merge pull request #20 from heliosnet/FixingBehavior
Browse files Browse the repository at this point in the history
Fix for windows Sleep function
  • Loading branch information
filipinascimento authored Jun 20, 2021
2 parents 0b25a72 + 699a26f commit ed92ce8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helios-core/Python/PyCXVersion.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define k_PYCXVersion 0.3.0
#define k_PYCXVersion 0.3.1
1 change: 1 addition & 0 deletions helios-core/Source/CVCommons.h
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,7 @@ if((capacity)<(count)+1){\
//sleep functions
#if __WIN32__
#include <windows.h>
#define CVSleepMillisecond(x) Sleep((x))
#else
#include <unistd.h>
#define CVSleepMillisecond(x) usleep((x)*1000)
Expand Down

0 comments on commit ed92ce8

Please sign in to comment.