Revision f3ec2d46 libavcodec/common.h

View differences:

libavcodec/common.h
89 89

  
90 90
#    define snprintf _snprintf
91 91

  
92
#else /* CONFIG_WIN32 */
92
/* CONFIG_WIN32 end */
93
#elif defined (CONFIG_OS2)
94
/* OS/2 EMX */
95

  
96
#include <inttypes.h>
97

  
98
typedef unsigned char UINT8;
99
typedef unsigned short UINT16;
100
typedef unsigned int UINT32;
101
typedef unsigned long long UINT64;
102
typedef signed char INT8;
103
typedef signed short INT16;
104
typedef signed int INT32;
105
typedef signed long long INT64;
106

  
107
#ifdef HAVE_AV_CONFIG_H
108

  
109
#ifndef INT64_C
110
#define INT64_C(c)     (c ## LL)
111
#define UINT64_C(c)    (c ## ULL)
112
#endif
113

  
114
#ifdef USE_FASTMEMCPY
115
#include "fastmemcpy.h"
116
#endif
117

  
118
#include <float.h>
119

  
120
#endif /* HAVE_AV_CONFIG_H */
121

  
122
/* CONFIG_OS2 end */
123
#else
93 124

  
94 125
/* unix */
95 126

  
......
119 150
#        endif
120 151
#    endif /* HAVE_AV_CONFIG_H */
121 152

  
122
#endif /* !CONFIG_WIN32 */
153
#endif /* !CONFIG_WIN32 && !CONFIG_OS2 */
123 154

  
124 155
#ifdef HAVE_AV_CONFIG_H
125 156

  

Also available in: Unified diff