File: patch_mingw_io_h.diff

package info (click to toggle)
biosig4c%2B%2B 1.3.0-2.2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,144 kB
  • sloc: ansic: 30,471; cpp: 7,543; makefile: 1,630; python: 65; awk: 58; sh: 4; ruby: 2
file content (28 lines) | stat: -rw-r--r-- 1,350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
*** ../mingw-cross-env/usr/i686-pc-mingw32/include/io.h.orig	Wed Feb  2 13:57:17 2011
--- ../mingw-cross-env/usr/i686-pc-mingw32/include/io.h	Wed Feb  2 13:57:42 2011
***************
*** 451,457 ****
--- 451,459 ----
  _CRTIMP int __cdecl __MINGW_NOTHROW open (const char*, int, ...);
  _CRTIMP int __cdecl __MINGW_NOTHROW read (int, void*, unsigned int);
  _CRTIMP int __cdecl __MINGW_NOTHROW setmode (int, int);
+ #if !__UNISTD_H_SOURCED__
  _CRTIMP int __cdecl __MINGW_NOTHROW sopen (const char*, int, int, ...);
+ #endif
  _CRTIMP long __cdecl __MINGW_NOTHROW tell (int);
  _CRTIMP int __cdecl __MINGW_NOTHROW umask (int);
  _CRTIMP int __cdecl __MINGW_NOTHROW unlink (const char*);
*** ../mxe/usr/i686-pc-mingw32/include/io.h.orig	Wed Feb  2 13:57:17 2011
--- ../mxe/usr/i686-pc-mingw32/include/io.h	Wed Feb  2 13:57:42 2011
***************
*** 451,457 ****
--- 451,459 ----
  _CRTIMP int __cdecl __MINGW_NOTHROW open (const char*, int, ...);
  _CRTIMP int __cdecl __MINGW_NOTHROW read (int, void*, unsigned int);
  _CRTIMP int __cdecl __MINGW_NOTHROW setmode (int, int);
+ #if !__UNISTD_H_SOURCED__
  _CRTIMP int __cdecl __MINGW_NOTHROW sopen (const char*, int, int, ...);
+ #endif
  _CRTIMP long __cdecl __MINGW_NOTHROW tell (int);
  _CRTIMP int __cdecl __MINGW_NOTHROW umask (int);
  _CRTIMP int __cdecl __MINGW_NOTHROW unlink (const char*);