Skip to content

Commit

Permalink
[deploy] fix windows cl error
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jan 24, 2025
1 parent 7ab943b commit 90a5764
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mcx_neurojson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@
#define ALLOC_CHUNK 4096

#ifdef _WIN32
#define popen _popen
#define pclose _pclose
#define popen _popen
#define pclose _pclose
#define snprintf _snprintf
#endif

int runcommand(char* cmd, char* param, char** output) {
Expand Down

0 comments on commit 90a5764

Please sign in to comment.