Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

beecrypt/beecrypt.win.h

Go to the documentation of this file.
00001 /*
00002  * config.win.h
00003  *
00004  * Win32 config file
00005  *
00006  * Copyright (c) 2000, 2001 Virtual Unlimited B.V.
00007  *
00008  * Author: Bob Deblier <bob@virtualunlimited.com>
00009  *
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Lesser General Public
00012  * License as published by the Free Software Foundation; either
00013  * version 2.1 of the License, or (at your option) any later version.
00014  *
00015  * This library is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  * Lesser General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU Lesser General Public
00021  * License along with this library; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023  *
00024  */
00025 
00026 #ifndef _BEECRYPT_WIN_H
00027 #define _BEECRYPT_WIN_H
00028 
00029 #define _REENTRANT
00030 
00031 #if !defined(_WIN32_WINNT)
00032 #define _WIN32_WINNT 0x0400
00033 #endif
00034 
00035 #include <windows.h>
00036 
00037 #if __MWERKS__
00038 # if __INTEL__
00039 #  define WORDS_BIGENDIAN               0
00040 # else
00041 #  error Unknown CPU type in MetroWerks CodeWarrior
00042 # endif
00043 #elif defined(_MSC_VER)
00044 # if defined(_M_IX86)
00045 #  define WORDS_BIGENDIAN               0
00046 #  define ROTL32(x, s) _rotl(x, s)
00047 #  define ROTR32(x, s) _rotr(x, s)
00048 # else
00049 #  error Unknown CPU type in Microsoft Visual C
00050 # endif
00051 #else
00052 # error Unknown compiler for WIN32
00053 #endif
00054 
00055 #if defined(_MSC_VER) || __MWERKS__
00056 #define HAVE_ERRNO_H                    1
00057 #define HAVE_STRING_H                   1
00058 #define HAVE_STDLIB_H                   1
00059 #define HAVE_CTYPE_H                    1
00060 #define HAVE_FCNTL_H                    1
00061 #define HAVE_TIME_H                             1
00062 
00063 #define HAVE_SYS_TYPES_H                0
00064 #define HAVE_SYS_TIME_H                 0
00065 
00066 #define HAVE_THREAD_H                   0
00067 #define HAVE_SYNCH_H                    0
00068 #define HAVE_PTHREAD_H                  0
00069 #define HAVE_SEMAPHORE_H                0
00070 
00071 #define HAVE_TERMIO_H                   0
00072 #define HAVE_SYS_AUDIOIO_H              0
00073 #define HAVE_SYS_IOCTL_H                0
00074 #define HAVE_SYS_SOUNDCARD_H    0
00075 
00076 #define HAVE_GETTIMEOFDAY               0
00077 #define HAVE_GETHRTIME                  0
00078 
00079 #define HAVE_DEV_TTY                    0
00080 #define HAVE_DEV_AUDIO                  0
00081 #define HAVE_DEV_DSP                    0
00082 #define HAVE_DEV_RANDOM                 0
00083 #define HAVE_DEV_URANDOM                0
00084 #define HAVE_DEV_TTY                    0
00085 
00086 #else
00087 #error Not set up for this compiler
00088 #endif
00089 
00090 #if __MWERKS__
00091 #define HAVE_UNISTD_H                   1
00092 #define HAVE_MALLOC_H                   1
00093 
00094 #define HAVE_SYS_STAT_H                 0
00095 
00096 #define HAVE_LONG_LONG                  1
00097 
00098 #define INT8_TYPE               char
00099 #define INT16_TYPE              short
00100 #define INT32_TYPE              int
00101 #define INT64_TYPE              long long
00102 #define UINT8_TYPE              unsigned char
00103 #define UINT16_TYPE             unsigned short
00104 #define UINT32_TYPE             unsigned int
00105 #define UINT64_TYPE             unsigned long long
00106 #define FLOAT4_TYPE             float
00107 #define DOUBLE8_TYPE    double
00108 
00109 #elif defined(_MSC_VER)
00110 #define HAVE_UNISTD_H                   0
00111 #define HAVE_MALLOC_H                   1
00112 
00113 #define HAVE_SYS_STAT_H                 1
00114 
00115 #define HAVE_LONG_LONG                  0
00116 
00117 #define INT8_TYPE               __int8
00118 #define INT16_TYPE              __int16
00119 #define INT32_TYPE              __int32
00120 #define INT64_TYPE              __int64
00121 #define UINT8_TYPE              unsigned __int8
00122 #define UINT16_TYPE             unsigned __int16
00123 #define UINT32_TYPE             unsigned __int32
00124 #define UINT64_TYPE             unsigned __int64
00125 #define FLOAT4_TYPE             float
00126 #define DOUBLE8_TYPE    double
00127 #endif
00128 
00129 #endif

Generated on Tue Sep 17 15:59:44 2002 for rpm by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002