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

Comparing ray/src/common/paths.h (file contents):
Revision 2.18 by schorsch, Mon Jul 14 20:02:29 2003 UTC vs.
Revision 2.19 by schorsch, Mon Jul 14 22:23:59 2003 UTC

# Line 4 | Line 4
4   */
5   #ifndef _RAD_PATHS_H_
6   #define _RAD_PATHS_H_
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
7  
8   #include <stdio.h>
9   #include <stdlib.h>
# Line 51 | Line 48 | extern "C" {
48      #define S_IRUSR _S_IREAD
49      #define S_IWUSR _S_IWRITE
50    #endif
54 extern char  *fixargv0();
51  
52 +  #ifdef __cplusplus
53 +    extern "C" {
54 +  #endif
55 +  extern char  *fixargv0();
56 +  #ifdef __cplusplus
57 +    }
58 +  #endif
59 +
60   #else /* everything but Windows */
61    #include <unistd.h>
62    #include <sys/param.h>
# Line 109 | Line 113 | extern char  *fixargv0();
113    #define CASEDIRSEP    case DIRSEP
114   #endif
115  
116 + #ifdef __cplusplus
117 + extern "C" {
118 + #endif
119  
120   /* Find a writeable directory for temporary files */
121   /* If s is NULL, we return a static string */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines