From 31d18e089691c7ffb9c9c48579f1004eded9fc6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Abecasis?= <joao@trolltech.com>
Date: Fri, 15 Jan 2010 18:10:46 +0100
Subject: Dropping windows #define from qplatformheaders for *nix platforms.

QT_STATBUF4TSTAT was meant for the windows-specific _tstat function,
taking a _TCHAR* path argument.

Reviewed-by: Thiago Macieira
---
 mkspecs/cygwin-g++/qplatformdefs.h    | 2 --
 mkspecs/darwin-g++/qplatformdefs.h    | 2 --
 mkspecs/freebsd-g++/qplatformdefs.h   | 2 --
 mkspecs/hurd-g++/qplatformdefs.h      | 2 --
 mkspecs/lynxos-g++/qplatformdefs.h    | 2 --
 mkspecs/macx-g++/qplatformdefs.h      | 2 --
 mkspecs/macx-g++40/qplatformdefs.h    | 2 --
 mkspecs/macx-g++42/qplatformdefs.h    | 2 --
 mkspecs/macx-llvm/qplatformdefs.h     | 2 --
 mkspecs/macx-pbuilder/qplatformdefs.h | 2 --
 mkspecs/macx-xcode/qplatformdefs.h    | 2 --
 mkspecs/macx-xlc/qplatformdefs.h      | 2 --
 mkspecs/netbsd-g++/qplatformdefs.h    | 2 --
 mkspecs/openbsd-g++/qplatformdefs.h   | 2 --
 mkspecs/sco-cc/qplatformdefs.h        | 2 --
 mkspecs/sco-g++/qplatformdefs.h       | 2 --
 mkspecs/tru64-cxx/qplatformdefs.h     | 2 --
 mkspecs/tru64-g++/qplatformdefs.h     | 2 --
 mkspecs/unixware-cc/qplatformdefs.h   | 2 --
 mkspecs/unixware-g++/qplatformdefs.h  | 2 --
 20 files changed, 40 deletions(-)

diff --git a/mkspecs/cygwin-g++/qplatformdefs.h b/mkspecs/cygwin-g++/qplatformdefs.h
index b64e126..a6f57d2 100644
--- a/mkspecs/cygwin-g++/qplatformdefs.h
+++ b/mkspecs/cygwin-g++/qplatformdefs.h
@@ -86,8 +86,6 @@
 
 #undef QT_OPEN_LARGEFILE
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
diff --git a/mkspecs/darwin-g++/qplatformdefs.h b/mkspecs/darwin-g++/qplatformdefs.h
index 2ee0698..7a67339 100644
--- a/mkspecs/darwin-g++/qplatformdefs.h
+++ b/mkspecs/darwin-g++/qplatformdefs.h
@@ -79,8 +79,6 @@
 #undef QT_OPEN_LARGEFILE
 #define QT_OPEN_LARGEFILE       0
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/freebsd-g++/qplatformdefs.h b/mkspecs/freebsd-g++/qplatformdefs.h
index c0b7da6..5afb965 100644
--- a/mkspecs/freebsd-g++/qplatformdefs.h
+++ b/mkspecs/freebsd-g++/qplatformdefs.h
@@ -91,8 +91,6 @@
 #define QT_SOCKLEN_T            socklen_t
 #endif
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/hurd-g++/qplatformdefs.h b/mkspecs/hurd-g++/qplatformdefs.h
index b439e6b..b734a68 100644
--- a/mkspecs/hurd-g++/qplatformdefs.h
+++ b/mkspecs/hurd-g++/qplatformdefs.h
@@ -84,8 +84,6 @@
 
 #include "../common/posix/qplatformdefs.h"
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
diff --git a/mkspecs/lynxos-g++/qplatformdefs.h b/mkspecs/lynxos-g++/qplatformdefs.h
index 4d3965d..cac71d1 100644
--- a/mkspecs/lynxos-g++/qplatformdefs.h
+++ b/mkspecs/lynxos-g++/qplatformdefs.h
@@ -85,8 +85,6 @@
 #define QT_SOCKLEN_T            int
 #endif
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
diff --git a/mkspecs/macx-g++/qplatformdefs.h b/mkspecs/macx-g++/qplatformdefs.h
index 5aef821..99d64ef 100644
--- a/mkspecs/macx-g++/qplatformdefs.h
+++ b/mkspecs/macx-g++/qplatformdefs.h
@@ -91,8 +91,6 @@
 
 #define QT_SIGNAL_IGNORE        (void (*)(int))1
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/macx-g++40/qplatformdefs.h b/mkspecs/macx-g++40/qplatformdefs.h
index 5aef821..99d64ef 100644
--- a/mkspecs/macx-g++40/qplatformdefs.h
+++ b/mkspecs/macx-g++40/qplatformdefs.h
@@ -91,8 +91,6 @@
 
 #define QT_SIGNAL_IGNORE        (void (*)(int))1
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/macx-g++42/qplatformdefs.h b/mkspecs/macx-g++42/qplatformdefs.h
index 5aef821..99d64ef 100644
--- a/mkspecs/macx-g++42/qplatformdefs.h
+++ b/mkspecs/macx-g++42/qplatformdefs.h
@@ -91,8 +91,6 @@
 
 #define QT_SIGNAL_IGNORE        (void (*)(int))1
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/macx-llvm/qplatformdefs.h b/mkspecs/macx-llvm/qplatformdefs.h
index 5aef821..99d64ef 100644
--- a/mkspecs/macx-llvm/qplatformdefs.h
+++ b/mkspecs/macx-llvm/qplatformdefs.h
@@ -91,8 +91,6 @@
 
 #define QT_SIGNAL_IGNORE        (void (*)(int))1
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/macx-pbuilder/qplatformdefs.h b/mkspecs/macx-pbuilder/qplatformdefs.h
index 256dba6..66afad2 100644
--- a/mkspecs/macx-pbuilder/qplatformdefs.h
+++ b/mkspecs/macx-pbuilder/qplatformdefs.h
@@ -88,8 +88,6 @@
 
 #define QT_SIGNAL_IGNORE        (void (*)(int))1
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/macx-xcode/qplatformdefs.h b/mkspecs/macx-xcode/qplatformdefs.h
index 5aef821..99d64ef 100644
--- a/mkspecs/macx-xcode/qplatformdefs.h
+++ b/mkspecs/macx-xcode/qplatformdefs.h
@@ -91,8 +91,6 @@
 
 #define QT_SIGNAL_IGNORE        (void (*)(int))1
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/macx-xlc/qplatformdefs.h b/mkspecs/macx-xlc/qplatformdefs.h
index 380c217..b830041 100644
--- a/mkspecs/macx-xlc/qplatformdefs.h
+++ b/mkspecs/macx-xlc/qplatformdefs.h
@@ -83,8 +83,6 @@
 #define QT_SOCKLEN_T            int
 #define QT_SIGNAL_IGNORE        (void (*)(int))1
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/netbsd-g++/qplatformdefs.h b/mkspecs/netbsd-g++/qplatformdefs.h
index 53be833..2ce5b4a 100644
--- a/mkspecs/netbsd-g++/qplatformdefs.h
+++ b/mkspecs/netbsd-g++/qplatformdefs.h
@@ -84,8 +84,6 @@
 // NetBSD 1.0 - 1.3.3           int
 // NetBSD 1.4 - 1.5             socklen_t
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/openbsd-g++/qplatformdefs.h b/mkspecs/openbsd-g++/qplatformdefs.h
index f5adf6f..b3a9ad5 100644
--- a/mkspecs/openbsd-g++/qplatformdefs.h
+++ b/mkspecs/openbsd-g++/qplatformdefs.h
@@ -85,8 +85,6 @@
 // OpenBSD 2.2 - 2.4            int
 // OpenBSD 2.5 - 2.8            socklen_t
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/sco-cc/qplatformdefs.h b/mkspecs/sco-cc/qplatformdefs.h
index 2ae4b48..078cb45 100644
--- a/mkspecs/sco-cc/qplatformdefs.h
+++ b/mkspecs/sco-cc/qplatformdefs.h
@@ -81,8 +81,6 @@
 #undef QT_SOCKLEN_T
 #define QT_SOCKLEN_T            size_t
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/sco-g++/qplatformdefs.h b/mkspecs/sco-g++/qplatformdefs.h
index c62fe93..a09f77d 100644
--- a/mkspecs/sco-g++/qplatformdefs.h
+++ b/mkspecs/sco-g++/qplatformdefs.h
@@ -85,8 +85,6 @@
 #undef QT_SOCKLEN_T
 #define QT_SOCKLEN_T            int
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/tru64-cxx/qplatformdefs.h b/mkspecs/tru64-cxx/qplatformdefs.h
index 15b83aa..ed07d5b 100644
--- a/mkspecs/tru64-cxx/qplatformdefs.h
+++ b/mkspecs/tru64-cxx/qplatformdefs.h
@@ -94,8 +94,6 @@
 #define QT_SOCKLEN_T            int
 #endif
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #if defined(_XOPEN_SOURCE) && defined(_OSF_SOURCE)
 // Not available in the <unistd.h> header file of Tru64 4.0F.
 // Fixed in the <unistd.h> header of Tru64 5.0A so we copy/paste from there...
diff --git a/mkspecs/tru64-g++/qplatformdefs.h b/mkspecs/tru64-g++/qplatformdefs.h
index 15b83aa..ed07d5b 100644
--- a/mkspecs/tru64-g++/qplatformdefs.h
+++ b/mkspecs/tru64-g++/qplatformdefs.h
@@ -94,8 +94,6 @@
 #define QT_SOCKLEN_T            int
 #endif
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #if defined(_XOPEN_SOURCE) && defined(_OSF_SOURCE)
 // Not available in the <unistd.h> header file of Tru64 4.0F.
 // Fixed in the <unistd.h> header of Tru64 5.0A so we copy/paste from there...
diff --git a/mkspecs/unixware-cc/qplatformdefs.h b/mkspecs/unixware-cc/qplatformdefs.h
index 4ad4d6c..3a26042 100644
--- a/mkspecs/unixware-cc/qplatformdefs.h
+++ b/mkspecs/unixware-cc/qplatformdefs.h
@@ -85,8 +85,6 @@
 #define QT_OFF_T                off_t
 #define QT_SOCKLEN_T            size_t
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
diff --git a/mkspecs/unixware-g++/qplatformdefs.h b/mkspecs/unixware-g++/qplatformdefs.h
index 4ad4d6c..3a26042 100644
--- a/mkspecs/unixware-g++/qplatformdefs.h
+++ b/mkspecs/unixware-g++/qplatformdefs.h
@@ -85,8 +85,6 @@
 #define QT_OFF_T                off_t
 #define QT_SOCKLEN_T            size_t
 
-#define QT_STATBUF4TSTAT	struct stat
-
 #define QT_SNPRINTF		::snprintf
 #define QT_VSNPRINTF		::vsnprintf
 
-- 
cgit v0.12