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.3 by schorsch, Sun Jun 8 12:03:09 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  
11 + #include "copyright.h"
12  
13   #ifdef _WIN32
14  
15 < #include <stdio.h>  /* fileno() */
15 > #include <stdio.h>
16 > #define popen _popen
17 > #define pclose _pclose
18   #include <fcntl.h>  /* _O_BINARY, _O_TEXT */
19   #include <io.h>     /* _setmode() */
20   #include <stdlib.h> /* _fmode */
# Line 42 | Line 44
44  
45   #endif /* _WIN32 */
46  
47 +
48 + #ifdef __cplusplus
49 + }
50 + #endif
51   #endif /* _RAD_PLATFORM_H_ */
52  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines