author | zecke <zecke> | 2005-03-25 14:26:17 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-03-25 14:26:17 (UTC) |
commit | 253b32c290f3b1c4546aa7021a3e5235b9ab3acd (patch) (unidiff) | |
tree | 5d5bb047033f24d7e8fd3c58ade28d31eb7bfe6e /library | |
parent | 9d976cfe31fe9db8e602066fd1d8cdee095db115 (diff) | |
download | opie-253b32c290f3b1c4546aa7021a3e5235b9ab3acd.zip opie-253b32c290f3b1c4546aa7021a3e5235b9ab3acd.tar.gz opie-253b32c290f3b1c4546aa7021a3e5235b9ab3acd.tar.bz2 |
Trivial fix:
OS_UNIX et al is defined in qglobal.h so when including
qpeglobal.h before most Qt headers the defines in qpeglobal
are not valid.
For example the QCOM instantiate method could not be exported
properly due this.
At least opie-eye when built with OpenEmbedded suffered this
problem.
-rw-r--r-- | library/qpeglobal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/qpeglobal.h b/library/qpeglobal.h index f64ccfd..d353942 100644 --- a/library/qpeglobal.h +++ b/library/qpeglobal.h | |||
@@ -24,24 +24,26 @@ | |||
24 | -. .:....=;==+<; You should have received a copy of the GNU | 24 | -. .:....=;==+<; You should have received a copy of the GNU |
25 | -_. . . )=. = Library General Public License along with | 25 | -_. . . )=. = Library General Public License along with |
26 | -- :-=` this library; see the file COPYING.LIB. | 26 | -- :-=` this library; see the file COPYING.LIB. |
27 | If not, write to the Free Software Foundation, | 27 | If not, write to the Free Software Foundation, |
28 | Inc., 59 Temple Place - Suite 330, | 28 | Inc., 59 Temple Place - Suite 330, |
29 | Boston, MA 02111-1307, USA. | 29 | Boston, MA 02111-1307, USA. |
30 | 30 | ||
31 | */ | 31 | */ |
32 | 32 | ||
33 | #ifndef QPE_GLOBAL_DEFINES_H | 33 | #ifndef QPE_GLOBAL_DEFINES_H |
34 | #define QPE_GLOBAL_DEFINES_H | 34 | #define QPE_GLOBAL_DEFINES_H |
35 | 35 | ||
36 | #include <qglobal.h> | ||
37 | |||
36 | /** | 38 | /** |
37 | * Defines for used compiler attributes | 39 | * Defines for used compiler attributes |
38 | * | 40 | * |
39 | */ | 41 | */ |
40 | 42 | ||
41 | /* | 43 | /* |
42 | * commons | 44 | * commons |
43 | */ | 45 | */ |
44 | #define QPE_DEPRECATED | 46 | #define QPE_DEPRECATED |
45 | 47 | ||
46 | 48 | ||
47 | #if defined(Q_OS_MACX) | 49 | #if defined(Q_OS_MACX) |