~ubuntu-branches/ubuntu/trusty/vice/trusty

« back to all changes in this revision

Viewing changes to src/arch/win32/msvc/ide-config.h

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2013-07-28 20:38:23 UTC
  • mfrom: (1.2.5)
  • mto: This revision was merged to the branch mainline in revision 27.
  • Revision ID: package-import@ubuntu.com-20130728203823-w495rps5wuykespp
Tags: upstream-2.4.dfsg
ImportĀ upstreamĀ versionĀ 2.4.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef VICE_CONFIG_H_
 
2
#define VICE_CONFIG_H_
 
3
 
 
4
#define UNSTABLE
 
5
 
 
6
/* FIXME: Doesn't work with the rewrite. #define FEATURE_CPUMEMHISTORY 1*/
 
7
#define HAVE_WORKING_VSNPRINTF
 
8
 
 
9
#if defined _MSC_VER && _MSC_VER < 1400 
 
10
# define vsnprintf _vsnprintf
 
11
#endif
 
12
 
 
13
#pragma warning(disable:4996)
 
14
 
 
15
#define HAVE_ALLOCA             1
 
16
#define RETSIGTYPE              void
 
17
#define HAVE_RESID              1
 
18
#define HAVE_RESID_FP           1
 
19
#define HAVE_RESID_DTV          1
 
20
#define HAS_JOYSTICK            1
 
21
#define HAVE_MOUSE              1
 
22
#define HAVE_CATWEASELMKIII     1
 
23
#define HAVE_HARDSID            1
 
24
#define HAVE_RS232              1
 
25
#define HAVE_DYNLIB_SUPPORT     1
 
26
 
 
27
#ifndef WINIA64
 
28
#define HAVE_PARSID             1
 
29
#endif
 
30
 
 
31
#define HAS_LONGLONG_INTEGER    1
 
32
#define HAS_UNLOCKRESOURCE      1
 
33
#define SIZEOF_UNSIGNED_INT     4
 
34
#define SIZEOF_UNSIGNED_LONG    4
 
35
#define SIZEOF_UNSIGNED_SHORT   2
 
36
#define HAVE_ATEXIT             1
 
37
#define HAVE_MEMMOVE            1
 
38
#define HAVE_STRERROR           1
 
39
#define HAVE_FCNTL_H            1
 
40
#define HAVE_LIMITS_H           1
 
41
#define HAVE_COMMCTRL_H         1
 
42
#define HAVE_SHLOBJ_H           1
 
43
#define HAVE_DIRECT_H           1
 
44
#define HAVE_DIRENT_H           1
 
45
#define HAVE_ERRNO_H            1
 
46
#define HAVE_IO_H               1
 
47
#define HAVE_PROCESS_H          1
 
48
#define HAVE_SYS_TYPES_H        1
 
49
#define HAVE_SYS_STAT_H         1
 
50
#define HAVE_SIGNAL_H           1
 
51
#define HAVE_WINIOCTL_H         1
 
52
 
 
53
#define DWORD_IS_LONG           1
 
54
#define HAVE_TFE                1
 
55
#define HAVE_FFMPEG             1
 
56
#define HAVE_FFMPEG_SWSCALE     1
 
57
#define HAVE_FFMPEG_HEADER_SUBDIRS 1
 
58
 
 
59
#ifndef _WIN64
 
60
#define FFMPEG_ALIGNMENT_HACK   1
 
61
#endif
 
62
 
 
63
#define HAVE_OPENCBM            1
 
64
#define HAVE_MIDI               1
 
65
#define HAVE_CRTDBG             1
 
66
#define HAS_TRANSLATION         1
 
67
#define HAVE_HTONL              1
 
68
#define HAVE_HTONS              1
 
69
#define HAVE_NETWORK            1
 
70
#define HAVE_GETCWD             1
 
71
 
 
72
#ifndef NODIRECTX
 
73
#define HAVE_DINPUT             1
 
74
#define USE_DXSOUND             1
 
75
#define HAVE_DSOUND_LIB         1
 
76
#ifndef WINIA64
 
77
#define HAVE_GUIDLIB            1
 
78
#endif
 
79
#endif
 
80
 
 
81
#if !defined(_M_AMD64) && !defined(WINIA64)
 
82
#define __i386__                1
 
83
#endif
 
84
 
 
85
#ifdef _M_AMD64
 
86
#define __amd64__               1
 
87
#endif
 
88
 
 
89
#define inline                  _inline
 
90
 
 
91
#define _ANONYMOUS_UNION
 
92
 
 
93
#define S_ISDIR(m)              ((m) & _S_IFDIR)
 
94
 
 
95
#define MSVC_RC                 1
 
96
 
 
97
#define strcasecmp(s1, s2)      _stricmp(s1, s2)
 
98
#define HAVE_STRCASECMP         1
 
99
 
 
100
#define snprintf _snprintf
 
101
 
 
102
/* begin: for FFMPEG: common.h */
 
103
#define CONFIG_WIN32
 
104
 
 
105
#define int64_t_C(c)     (c ## i64)
 
106
#define uint64_t_C(c)    (c ## ui64)
 
107
/* end: for FFMPEG: common.h */
 
108
 
 
109
#ifdef WINIA64
 
110
#define PLATFORM "win64 ia64 msvc"
 
111
#define PLATFORM_OS "win64"
 
112
#define PLATFORM_CPU "ia64"
 
113
#define PLATFORM_COMPILER "msvc"
 
114
#else
 
115
#  ifdef _WIN64
 
116
#    define PLATFORM "win64 x64 msvc"
 
117
#    define PLATFORM_OS "win64"
 
118
#    define PLATFORM_CPU "x64"
 
119
#    define PLATFORM_COMPILER "msvc"
 
120
#  else
 
121
#    define PLATFORM "win32 x86 msvc"
 
122
#    define PLATFORM_OS "win32"
 
123
#    define PLATFORM_CPU "x86"
 
124
#    define PLATFORM_COMPILER "msvc"
 
125
#  endif
 
126
#endif
 
127
 
 
128
#endif