X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fcrypto%2Fos_port.h;h=9a4813650eb8c15420d35d3806360529a4de6e96;hb=566c9bf8bfcc08b60c3cb9ae2edce8b516128203;hp=80c09e840d9ba69bc570c80f7b8ea509e3582c4e;hpb=1b4a582b04fc39d9d4d930acb4d0803bdedfb32e;p=deb_shairplay.git diff --git a/src/lib/crypto/os_port.h b/src/lib/crypto/os_port.h index 80c09e8..9a48136 100644 --- a/src/lib/crypto/os_port.h +++ b/src/lib/crypto/os_port.h @@ -44,7 +44,6 @@ extern "C" { #include #if defined(WIN32) -#define STDCALL __stdcall #define EXP_FUNC __declspec(dllexport) #else #define STDCALL @@ -97,7 +96,6 @@ extern "C" { #define strdup(A) _strdup(A) #define chroot(A) _chdir(A) #define chdir(A) _chdir(A) -#define alloca(A) _alloca(A) #ifndef lseek #define lseek(A,B,C) _lseek(A,B,C) #endif @@ -108,7 +106,7 @@ extern "C" { see http://www.khngai.com/emacs/tty.php */ #define TTY_FLUSH() if (!_isatty(_fileno(stdout))) fflush(stdout); -/* + typedef UINT8 uint8_t; typedef INT8 int8_t; typedef UINT16 uint16_t; @@ -118,7 +116,6 @@ typedef INT32 int32_t; typedef UINT64 uint64_t; typedef INT64 int64_t; typedef int socklen_t; -*/ #else /* Not Win32 */