Browse Source

add windows port

use windows.h for WIN crossbuild
metaverse
ca333 6 years ago
committed by GitHub
parent
commit
942e45b592
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/cryptoconditions/src/secp256k1.c

5
src/cryptoconditions/src/secp256k1.c

@ -1,6 +1,11 @@
#define _GNU_SOURCE 1
#if __linux
#include <sys/syscall.h>
#elif defined(_WIN32) || defined(_WIN64)
#include <windows.h>
#endif
#include <unistd.h>
#include <pthread.h>

Loading…
Cancel
Save