speed-dreams: fix ppc64 patch applying (windows line endings)
This commit is contained in:
parent
f7a699f1ed
commit
a8ee3459a8
|
@ -1,13 +1,13 @@
|
|||
Index: src/modules/graphic/osggraph/Utils/OsgAtomic.h
|
||||
===================================================================
|
||||
--- src/modules/graphic/osggraph/Utils/OsgAtomic.h (revision 6789)
|
||||
+++ src/modules/graphic/osggraph/Utils/OsgAtomic.h (working copy)
|
||||
Index: src/modules/graphic/osggraph/Utils/OsgAtomic.h
|
||||
===================================================================
|
||||
--- src/modules/graphic/osggraph/Utils/OsgAtomic.h (revision 6789)
|
||||
+++ src/modules/graphic/osggraph/Utils/OsgAtomic.h (working copy)
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifndef OsgAtomic_H
|
||||
#define OsgAtomic_H
|
||||
|
||||
-#if defined(__GNUC__) && ((4 < __GNUC__)||(4 == __GNUC__ && 1 <= __GNUC_MINOR__)) && defined(__x86_64__)
|
||||
+#if defined(__GNUC__) && ((4 < __GNUC__)||(4 == __GNUC__ && 1 <= __GNUC_MINOR__)) && (defined(__x86_64__) || defined(__powerpc64__))
|
||||
// No need to include something. Is a Compiler API ...
|
||||
# define SDATOMIC_USE_GCC4_BUILTINS
|
||||
#elif defined(__GNUC__) && defined(__i386__)
|
||||
#ifndef OsgAtomic_H
|
||||
#define OsgAtomic_H
|
||||
|
||||
-#if defined(__GNUC__) && ((4 < __GNUC__)||(4 == __GNUC__ && 1 <= __GNUC_MINOR__)) && defined(__x86_64__)
|
||||
+#if defined(__GNUC__) && ((4 < __GNUC__)||(4 == __GNUC__ && 1 <= __GNUC_MINOR__)) && (defined(__x86_64__) || defined(__powerpc64__))
|
||||
// No need to include something. Is a Compiler API ...
|
||||
# define SDATOMIC_USE_GCC4_BUILTINS
|
||||
#elif defined(__GNUC__) && defined(__i386__)
|
Loading…
Reference in New Issue