~ubuntu-branches/ubuntu/saucy/imagemagick/saucy

« back to all changes in this revision

Viewing changes to magick/nt-base.h

  • Committer: Package Import Robot
  • Author(s): Michael Terry
  • Date: 2012-07-10 11:21:50 UTC
  • mfrom: (6.2.24 sid)
  • Revision ID: package-import@ubuntu.com-20120710112150-liko2z4agqah3n5t
Tags: 8:6.7.7.10-2ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Make ufraw-batch (universe) a suggestion instead of a recommendation.
  - Don't set MAKEFLAGS in debian/rules; just pass it to the build.
* debian/control:
  - Build-Depend on libtiff5-dev instead of libtiff-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
  Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
 
2
  Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization
3
3
  dedicated to making software imaging solutions freely available.
4
4
 
5
5
  You may not use this file except in compliance with the License.
22
22
extern "C" {
23
23
#endif
24
24
 
 
25
#if defined(MAGICKCORE_WINDOWS_SUPPORT)
 
26
 
25
27
#include "magick/delegate.h"
26
28
#include "magick/delegate-private.h"
27
29
#include "magick/exception.h"
75
77
#endif
76
78
 
77
79
#if !defined(access)
78
 
#  define access(path,mode)  _access(path,mode)
 
80
#if defined(_VISUALC_) && (_MSC_VER >= 1400)
 
81
#  define access(path,mode)  _access_s(path,mode)
 
82
#endif
79
83
#endif
80
84
#if !defined(chdir)
81
85
#  define chdir  _chdir
96
100
#if defined(MAGICKCORE_WINDOWS_SUPPORT) && !defined(Windows95) && \
97
101
  !(defined(_MSC_VER) && (_MSC_VER < 1400)) && (__MSVCRT_VERSION__ < 0x800)
98
102
#  define fseek  _fseeki64
99
 
#else
100
 
#  define fseek  _fseek
101
103
#endif
102
104
#endif
103
105
#if !defined(fstat) && !defined(__BORLANDC__)
115
117
#if defined(MAGICKCORE_WINDOWS_SUPPORT) && !defined(Windows95) && \
116
118
  !(defined(_MSC_VER) && (_MSC_VER < 1400)) && (__MSVCRT_VERSION__ < 0x800)
117
119
#  define ftell  _ftelli64
118
 
#else
119
 
#  define ftell  _ftell
120
120
#endif
121
121
#endif
122
122
#if !defined(ftruncate)
137
137
#if !defined(isatty)
138
138
#  define isatty _isatty
139
139
#endif
 
140
#if !defined(locale_t)
 
141
#define locale_t _locale_t
 
142
#endif
140
143
#if defined(MAGICKCORE_WINDOWS_SUPPORT) && !defined(Windows95) && \
141
144
  !(defined(_MSC_VER) && (_MSC_VER < 1400)) && (__MSVCRT_VERSION__ < 0x800)
142
145
#  define lseek  _lseeki64
191
194
#if !defined(popen)
192
195
#  define popen  _popen
193
196
#endif
 
197
#if !defined(fprintf_l)
 
198
#define fprintf_l  _fprintf_s_l
 
199
#endif
194
200
#if !defined(read)
195
201
#  define read  _read
196
202
#endif
206
212
#if !defined(spawnvp)
207
213
#  define spawnvp  _spawnvp
208
214
#endif
 
215
#if !defined(strtod_l)
 
216
#define strtod_l  _strtod_l
 
217
#endif
209
218
#if !defined(stat) && !defined(__BORLANDC__)
210
219
#if defined(MAGICKCORE_WINDOWS_SUPPORT) && !defined(Windows95) && \
211
220
  !(defined(_MSC_VER) && (_MSC_VER < 1400)) && (__MSVCRT_VERSION__ < 0x800)
233
242
#  define telldir(directory)  NTTellDirectory(directory)
234
243
#endif
235
244
#if !defined(tempnam)
236
 
#  define tempnam  _tempnam
 
245
#  define tempnam  _tempnam_s
 
246
#endif
 
247
#if !defined(vfprintf_l)
 
248
#define vfprintf_l  _vfprintf_l
237
249
#endif
238
250
#if !defined(vsnprintf)
239
 
#if !defined(_MSC_VER) || (defined(_MSC_VER) && (_MSC_VER < 1500))
240
 
#define vsnprintf  _vsnprintf
241
 
#endif
 
251
#if !defined(_MSC_VER) || (defined(_MSC_VER) && _MSC_VER < 1500)
 
252
#define vsnprintf _vsnprintf 
 
253
#endif
 
254
#endif
 
255
#if !defined(vsnprintf_l)
 
256
#define vsnprintf_l  _vsnprintf_l
242
257
#endif
243
258
#if !defined(write)
244
259
#  define write  _write
334
349
#endif
335
350
 
336
351
extern MagickExport char
337
 
  *NTGetLastError(void);
 
352
  *NTGetLastError(void),
 
353
  **NTArgvToUTF8(const int argc,wchar_t **);
338
354
 
339
355
extern MagickExport const GhostInfo
340
356
  *NTGhostscriptDLLVectors(void);
405
421
 
406
422
#endif /* !XS_VERSION */
407
423
 
 
424
#endif /* MAGICK_WINDOWS_SUPPORT */
 
425
 
408
426
#if defined(__cplusplus) || defined(c_plusplus)
409
427
}
410
428
#endif /* !C++ */