Ignore:
Timestamp:
Jan 17, 2008 7:17:33 PM (16 years ago)
Author:
bennylp
Message:

Continuing ticket #452: added VS6 project for libsrtp, and changed libsrtp config.h to work on VS6

Location:
pjproject/branches/users/nanang/third_party/build/srtp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/users/nanang/third_party/build/srtp

    • Property svn:ignore
      •  

        old new  
        11*.user 
         2*.plg 
  • pjproject/branches/users/nanang/third_party/build/srtp/config.h

    r1698 r1699  
    1 #ifdef _WIN32 
    2 #include "../../srtp/config.hw" 
     1/* config.h for Win32/MSVC */ 
     2 
     3/* Define if building for a CISC machine (e.g. Intel). */ 
     4#define CPU_CISC 1 
     5 
     6/* Define if building for a RISC machine (assume slow byte access). */ 
     7/* #undef CPU_RISC */ 
     8 
     9/* Path to random device */ 
     10/* #define DEV_URANDOM "/dev/urandom" */ 
     11 
     12/* Define to compile in dynamic debugging system. */ 
     13#define ENABLE_DEBUGGING 1 
     14 
     15/* Report errors to this file. */ 
     16/* #undef ERR_REPORTING_FILE */ 
     17 
     18/* Define to use logging to stdout. */ 
     19#define ERR_REPORTING_STDOUT 1 
     20 
     21/* Define this to use ISMAcryp code. */ 
     22/* #undef GENERIC_AESICM */ 
     23 
     24/* Define to 1 if you have the <arpa/inet.h> header file. */ 
     25/* #undef HAVE_ARPA_INET_H */ 
     26 
     27/* Define to 1 if you have the <byteswap.h> header file. */ 
     28/* #undef HAVE_BYTESWAP_H */ 
     29 
     30/* Define to 1 if you have the `inet_aton' function. */ 
     31/* #undef HAVE_INET_ATON */ 
     32 
     33/* Define to 1 if the system has the type `int16_t'. */ 
     34#define HAVE_INT16_T 1 
     35 
     36/* Define to 1 if the system has the type `int32_t'. */ 
     37#define HAVE_INT32_T 1 
     38 
     39/* Define to 1 if the system has the type `int8_t'. */ 
     40#define HAVE_INT8_T 1 
     41 
     42/* Define to 1 if you have the <inttypes.h> header file. */ 
     43/* #undef HAVE_INTTYPES_H */ 
     44 
     45/* Define to 1 if you have the `socket' library (-lsocket). */ 
     46/* #undef HAVE_LIBSOCKET */ 
     47 
     48/* Define to 1 if you have the <machine/types.h> header file. */ 
     49/* #undef HAVE_MACHINE_TYPES_H */ 
     50 
     51/* Define to 1 if you have the <memory.h> header file. */ 
     52#define HAVE_MEMORY_H 1 
     53 
     54/* Define to 1 if you have the <netinet/in.h> header file. */ 
     55/* #undef HAVE_NETINET_IN_H */ 
     56 
     57/* Define to 1 if you have the `socket' function. */ 
     58/* #undef HAVE_SOCKET */ 
     59 
     60/* Define to 1 if you have the <stdint.h> header file. */ 
     61/* #undef HAVE_STDINT_H */ 
     62 
     63/* Define to 1 if you have the <stdlib.h> header file. */ 
     64#define HAVE_STDLIB_H 1 
     65 
     66/* Define to 1 if you have the <strings.h> header file. */ 
     67#define HAVE_STRINGS_H 1 
     68 
     69/* Define to 1 if you have the <string.h> header file. */ 
     70#define HAVE_STRING_H 1 
     71 
     72/* Define to 1 if you have the <syslog.h> header file. */ 
     73/* #undef HAVE_SYSLOG_H */ 
     74 
     75/* Define to 1 if you have the <sys/int_types.h> header file. */ 
     76/* #undef HAVE_SYS_INT_TYPES_H */ 
     77 
     78/* Define to 1 if you have the <sys/socket.h> header file. */ 
     79/* #undef HAVE_SYS_SOCKET_H */ 
     80 
     81/* Define to 1 if you have the <sys/stat.h> header file. */ 
     82#define HAVE_SYS_STAT_H 1 
     83 
     84/* Define to 1 if you have the <sys/types.h> header file. */ 
     85#define HAVE_SYS_TYPES_H 1 
     86 
     87/* Define to 1 if you have the <sys/uio.h> header file. */ 
     88/* #undef HAVE_SYS_UIO_H */ 
     89 
     90/* Define to 1 if the system has the type `uint16_t'. */ 
     91#define HAVE_UINT16_T 1 
     92 
     93/* Define to 1 if the system has the type `uint32_t'. */ 
     94#define HAVE_UINT32_T 1 
     95 
     96/* Define to 1 if the system has the type `uint64_t'. */ 
     97#define HAVE_UINT64_T 1 
     98 
     99/* Define to 1 if the system has the type `uint8_t'. */ 
     100#define HAVE_UINT8_T 1 
     101 
     102/* Define to 1 if you have the <unistd.h> header file. */ 
     103/* #undef HAVE_UNISTD_H */ 
     104 
     105/* Define to 1 if you have the `usleep' function. */ 
     106/* #undef HAVE_USLEEP */ 
     107 
     108/* Define to 1 if you have the <windows.h> header file. */ 
     109#define HAVE_WINDOWS_H 1 
     110 
     111/* Define to 1 if you have the <winsock2.h> header file. */ 
     112#define HAVE_WINSOCK2_H 1 
     113 
     114/* Define to use X86 inlined assembly code */ 
     115/* #undef HAVE_X86 */ 
     116 
     117/* Define to the address where bug reports for this package should be sent. */ 
     118#define PACKAGE_BUGREPORT "" 
     119 
     120/* Define to the full name of this package. */ 
     121#define PACKAGE_NAME "" 
     122 
     123/* Define to the full name and version of this package. */ 
     124#define PACKAGE_STRING "" 
     125 
     126/* Define to the one symbol short name of this package. */ 
     127#define PACKAGE_TARNAME "" 
     128 
     129/* Define to the version of this package. */ 
     130#define PACKAGE_VERSION "" 
     131 
     132/* The size of a `unsigned long', as computed by sizeof. */ 
     133#define SIZEOF_UNSIGNED_LONG 4 
     134 
     135/* The size of a `unsigned long long', as computed by sizeof. */ 
     136#define SIZEOF_UNSIGNED_LONG_LONG 8 
     137 
     138/* Define to use GDOI. */ 
     139/* #undef SRTP_GDOI */ 
     140 
     141/* Define to compile for kernel contexts. */ 
     142/* #undef SRTP_KERNEL */ 
     143 
     144/* Define to compile for Linux kernel context. */ 
     145/* #undef SRTP_KERNEL_LINUX */ 
     146 
     147/* Define to 1 if you have the ANSI C header files. */ 
     148#define STDC_HEADERS 1 
     149 
     150/* Write errors to this file */ 
     151/* #undef USE_ERR_REPORTING_FILE */ 
     152 
     153/* Define to use syslog logging. */ 
     154/* #undef USE_SYSLOG */ 
     155 
     156/* Define to 1 if your processor stores words with the most significant byte 
     157   first (like Motorola and SPARC, unlike Intel and VAX). */ 
     158/* #undef WORDS_BIGENDIAN */ 
     159 
     160/* Define to empty if `const' does not conform to ANSI C. */ 
     161/* #undef const */ 
     162 
     163/* Define 'inline' to nothing, since the MSVC compiler doesn't support it.  */ 
     164#define inline  
     165 
     166/* Define to `unsigned' if <sys/types.h> does not define. */ 
     167/* #undef size_t */ 
     168 
     169#if (_MSC_VER >= 1400) // VC8+ 
     170#   ifndef _CRT_SECURE_NO_DEPRECATE 
     171#       define _CRT_SECURE_NO_DEPRECATE 
     172#   endif 
     173#   ifndef _CRT_NONSTDC_NO_DEPRECATE 
     174#       define _CRT_NONSTDC_NO_DEPRECATE 
     175#   endif 
     176#endif // VC8+ 
     177 
     178#ifndef uint32_t 
     179    typedef unsigned char       uint8_t; 
     180    typedef unsigned short      uint16_t; 
     181    typedef unsigned int        uint32_t; 
     182    typedef unsigned __int64    uint64_t; 
     183    typedef signed char         int8_t; 
     184    typedef short               int16_t; 
     185    typedef int                 int32_t; 
     186    typedef __int64             int64_t; 
    3187#endif 
     188 
     189#ifdef _MSC_VER 
     190    #pragma warning(disable:4311) 
     191    #pragma warning(disable:4761) // integral mismatch 
     192    #pragma warning(disable:4018) // signed/unsigned mismatch 
     193    #pragma warning(disable:4244) // conversion from int64 to int 
     194#endif 
Note: See TracChangeset for help on using the changeset viewer.