Comments (5)
Ah, I'm sorry. This is still available! embarrasing!
Original comment by [email protected]
on 24 Nov 2009 at 3:41
from fog.
Hi Niels,
How is difference between __APPLE__ and __DARWIN__, is this valid?
#if !defined(FOG_OS_DEFINED) && defined(__DARWIN__)
# define FOG_OS_DEFINED
# define FOG_OS_MAC
#endif // __DARWIN__
Or it should be updated to?
#if !defined(FOG_OS_DEFINED) && (defined(__DARWIN__) || defined(__APPLE__)
# define FOG_OS_DEFINED
# define FOG_OS_MAC
#endif // __DARWIN__
Original comment by kobalicek.petr
on 25 Nov 2009 at 6:40
from fog.
Hi Petr,
I actually don't know the correct answer, but when searching on Google for
"__DARWIN__ __APPLE__", you get many issues, where __DARWIN__ was changed to
__APPLE__.
So I think, "(defined(__DARWIN__) || defined(__APPLE__))" is the best way.
Best regards
Original comment by [email protected]
on 25 Nov 2009 at 6:24
from fog.
Fixed in my local copy, will be commited later
Original comment by kobalicek.petr
on 27 Nov 2009 at 8:36
from fog.
Fixed in trunk
Original comment by kobalicek.petr
on 12 Dec 2009 at 2:10
- Changed state: Fixed
from fog.
Related Issues (20)
- About onPrepare,onPrepare,onPattern HOT 2
- A patch to improve 64-bit and standards compliance for MingW64 target HOT 1
- A Patch for Image Codecs to compile under MingW64 GCC 4.6.2 HOT 4
- Forcing inlining gives an error with MingW64 compiler HOT 12
- windows MinGW release version can't compile HOT 14
- how to render images in skia ] HOT 2
- about layout and button HOT 3
- Framework not compiling on Mac Platform HOT 3
- Linux error when compile HOT 5
- Support Qt4 bench also on other OSs than Linux HOT 2
- Several files reference files with names in wrong letter case HOT 3
- Compilation errors with OTCore.h HOT 2
- OSX build fails because of two _FOG_NO_COPY() uses HOT 1
- Windows compile error HOT 1
- Image_writeToStream leaks reference to stream HOT 1
- control87 errors on MinGW HOT 2
- Many errors HOT 3
- _FOG_RASTER_IMAGE_PARAMS is incorrect HOT 1
- ‘__m64’ does not name a type on Linux HOT 2
- Fog dose not render arabic text right HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fog.