File: amd64_fix.diff

package info (click to toggle)
zipios%2B%2B 0.1.5.9%2Bcvs.2007.04.28-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 2,344 kB
  • sloc: sh: 8,790; cpp: 4,150; ansic: 148; makefile: 132
file content (37 lines) | stat: -rw-r--r-- 757 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Description: Fix for AMD64
Author: Masayuki Hatta <mhatta@debian.org>
Origin: vendor
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/zipios++/meta-iostreams.h
+++ b/zipios++/meta-iostreams.h
@@ -7,11 +7,6 @@
 
 #include <iostream>
 #include <fstream>
-
-#if defined (HAVE_STD_IOSTREAM) && defined (USE_STD_IOSTREAM)
 #include <sstream>
-#else
-#include <strstream>
-#endif
 
 #endif
--- a/zipios++/zipios_defs.h
+++ b/zipios++/zipios_defs.h
@@ -1,10 +1,13 @@
 #ifndef ZIPIOS_DEFS_H
 #define ZIPIOS_DEFS_H
 
+#include "zipios++/zipios-config.h"
+#include <stdint.h>
+
 namespace zipios {
 
-typedef unsigned short uint16 ;
-typedef unsigned long  uint32 ;
+typedef uint16_t uint16 ;
+typedef uint32_t uint32 ;
 
 } // namespace