]> git.pld-linux.org Git - packages/povray.git/blame - povray-types.patch
- ver. 3.50c
[packages/povray.git] / povray-types.patch
CommitLineData
40169135
JB
1--- povray-3.50b/src/frame.h.orig Wed Aug 7 15:17:13 2002
2+++ povray-3.50b/src/frame.h Tue Oct 29 11:57:54 2002
3@@ -37,6 +37,7 @@
4 /* Generic header for all modules */
5
6 #include <math.h>
7+#include <stdint.h>
8 #include <stdio.h>
9 #include <string.h>
10 #include <limits.h>
11@@ -44,14 +45,14 @@
12 class pov_istream_class;
13 class pov_ostream_class;
14
15-typedef unsigned long u_int32 ;
16-typedef unsigned short u_int16 ;
17-typedef unsigned char u_int8 ;
18-typedef unsigned char byte ;
19-
20-typedef signed long int32 ;
21-typedef signed short int16 ;
22-typedef signed char int8 ;
23+typedef uint32_t u_int32 ;
24+typedef uint16_t u_int16 ;
25+typedef uint8_t u_int8 ;
26+typedef uint8_t byte ;
27+
28+typedef int32_t int32 ;
29+typedef int16_t int16 ;
30+typedef int8_t int8 ;
31
32 #include "config.h"
33
34--- povray-3.50b/src/optin.cpp.orig Wed Aug 7 15:17:13 2002
35+++ povray-3.50b/src/optin.cpp Tue Oct 29 12:05:51 2002
36@@ -364,7 +364,7 @@
37
38 static bool matches(char *v1, char *v2);
39
40-POV_ISTREAM *Opts_Locate_File(char *filename, unsigned long stype, char *buffer, int err_flag, POVMSObjectPtr obj);
41+POV_ISTREAM *Opts_Locate_File(char *filename, u_int32 stype, char *buffer, int err_flag, POVMSObjectPtr obj);
42
43
44 /*****************************************************************************
This page took 0.117046 seconds and 4 git commands to generate.