Go to the documentation of this file.
26#ifndef _BEECRYPT_WIN_H
27#define _BEECRYPT_WIN_H
31#if !defined(_WIN32_WINNT)
32# define _WIN32_WINNT 0x0400
37#define WORDS_BIGENDIAN 0
42# error Unknown CPU type in MetroWerks CodeWarrior
44#elif defined(_MSC_VER)
46# define ROTL32(x, s) _rotl(x, s)
47# define ROTR32(x, s) _rotr(x, s)
49# error Unknown CPU type in Microsoft Visual C
52# error Unknown compiler for WIN32
55#if defined(_MSC_VER) || __MWERKS__
60# define HAVE_ASSERT_H 1
62# define HAVE_ERRNO_H 1
63# define HAVE_CTYPE_H 1
64# define HAVE_FCNTL_H 1
67# define HAVE_SYS_TYPES_H 0
68# define HAVE_SYS_TIME_H 0
70# define HAVE_THREAD_H 0
71# define HAVE_SYNCH_H 0
72# define HAVE_PTHREAD_H 0
73# define HAVE_SEMAPHORE_H 0
75# define HAVE_TERMIO_H 0
76# define HAVE_SYS_AUDIOIO_H 0
77# define HAVE_SYS_IOCTL_H 0
78# define HAVE_SYS_SOUNDCARD_H 0
80# define HAVE_GETTIMEOFDAY 0
81# define HAVE_GETHRTIME 0
83# define HAVE_DEV_TTY 0
84# define HAVE_DEV_AUDIO 0
85# define HAVE_DEV_DSP 0
86# define HAVE_DEV_RANDOM 0
87# define HAVE_DEV_URANDOM 0
88# define HAVE_DEV_TTY 0
90# error Not set up for this compiler
95# define HAVE_SYS_STAT_H 0
97# define HAVE_LONG_LONG 1
98# define HAVE_UNSIGNED_LONG_LONG 1
100# define HAVE_64_BIT_INT 1
101# define HAVE_64_BIT_UINT 1
103# define SIZEOF_SIZE_T 4
104# define SIZEOF_UNSIGNED_LONG 4
107typedef short int16_t;
109typedef long long int64_t;
111typedef unsigned char uint8_t;
112typedef unsigned short uint16_t;
113typedef unsigned long uint32_t;
114typedef unsigned long long uint64_t;
116#elif defined(_MSC_VER)
118# define HAVE_SYS_STAT_H 1
120# define HAVE_LONG_LONG 0
121# define HAVE_UNSIGNED_LONG_LONG 0
123# define HAVE_64_BIT_INT 1
124# define HAVE_64_BIT_UINT 1
126# define SIZEOF_SIZE_T 4
127# define SIZEOF_UNSIGNED_LONG 4
129typedef signed char int8_t;
130typedef signed short int16_t;
131typedef signed int int32_t;
132typedef signed __int64 int64_t;
134typedef unsigned char uint8_t;
135typedef unsigned short uint16_t;
136typedef unsigned int uint32_t;
137typedef unsigned __int64 uint64_t;
HANDLE bc_thread_t
Definition: win.h:147
DWORD bc_threadid_t
Definition: win.h:148
HANDLE bc_mutex_t
Definition: win.h:146
HANDLE bc_cond_t
Definition: win.h:145