ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/platform.h
(Generate patch)

Comparing ray/src/common/platform.h (file contents):
Revision 3.1 by schorsch, Thu Jun 5 19:29:34 2003 UTC vs.
Revision 3.4 by greg, Fri Jun 27 06:53:21 2003 UTC

# Line 2 | Line 2
2   /*
3   *  platform.h - header file for platform specific definitions
4   */
5
6 #include "copyright.h"
7
8
5   #ifndef _RAD_PLATFORM_H_
6   #define _RAD_PLATFORM_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
12
11   #ifdef _WIN32
12  
13 < #include <stdio.h>  /* fileno() */
13 > #include <stdio.h>
14 > #define popen _popen
15 > #define pclose _pclose
16   #include <fcntl.h>  /* _O_BINARY, _O_TEXT */
17   #include <io.h>     /* _setmode() */
18   #include <stdlib.h> /* _fmode */
# Line 42 | Line 42
42  
43   #endif /* _WIN32 */
44  
45 +
46 + #ifdef __cplusplus
47 + }
48 + #endif
49   #endif /* _RAD_PLATFORM_H_ */
50  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines