[windows] - fixups for building on windows
[deb_shairplay.git] / src / lib / crypto / os_port.h
index 80c09e840d9ba69bc570c80f7b8ea509e3582c4e..9a4813650eb8c15420d35d3806360529a4de6e96 100644 (file)
@@ -44,7 +44,6 @@ extern "C" {
 #include <stdio.h>
 
 #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 */