File: patch_mingw_avoid_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 (23 lines) | stat: -rw-r--r-- 594 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
*** include/unistd.h.orig	Mon Nov 22 10:54:17 2010
--- include/unistd.h	Mon Nov 22 11:02:56 2010
***************
*** 9,15 ****
  #define _UNISTD_H
  #define __UNISTD_H_SOURCED__ 1
  
- #include <io.h>
  #include <process.h>
  #include <getopt.h>
  
--- 9,14 ----
***************
*** 36,41 ****
--- 35,42 ----
  int __cdecl __MINGW_NOTHROW usleep(useconds_t useconds);
  #endif  /* Not __NO_ISOCEXT */
  
+ _CRTIMP int __cdecl __MINGW_NOTHROW _chsize (int, long);
+ 
  /* This is defined as a real library function to allow autoconf
     to verify its existence. */
  int ftruncate(int, off_t);