Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2921/adobe-source/adobe
Modified Files:
cmath.hpp config.hpp
Log Message:
Beginning widget library documenation; more config.hpp options (thanks Boost!)
Index: config.hpp
===================================================================
RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/config.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** config.hpp 13 Apr 2005 12:30:27 -0000 1.6
--- config.hpp 13 Apr 2005 16:20:58 -0000 1.7
***************
*** 44,64 ****
/*************************************************************************************************/
! // REVISIT (fbrereto) : Should cygwin be considered as part of the Windows platform target?
! #if defined(BOOST_MSVC) || defined(__MINGW32__) || defined(__CYGWIN__)
! #define ADOBE_PLATFORM_WIN 1
#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
! #define ADOBE_PLATFORM_MAC 1
! #elif defined(__linux__) || defined(__unix)
! #define ADOBE_PLATFORM_UNIX 1
#else
!
! #error "Your platform is unknown."
#endif
--- 44,100 ----
/*************************************************************************************************/
! // Big thanks to Boost here for doing a majority of the work for us.
! #if defined(linux) || defined(__linux) || defined(__linux__)
! // Linux
! #define ADOBE_PLATFORM_LINUX 1
! #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
! // BSD
! #define ADOBE_PLATFORM_BSD 1
!
! #elif defined(sun) || defined(__sun)
! // Solaris
! #define ADOBE_PLATFORM_SOLARIS 1
!
! #elif defined(__sgi)
! // SGI Irix
! #define ADOBE_PLATFORM_IRIX 1
!
! #elif defined(__hpux)
! // HP Unix
! #define ADOBE_PLATFORM_HPUX 1
!
! #elif defined(__CYGWIN__)
! // Cygwin is not Win32
! #define ADOBE_PLATFORM_CYGWIN 1
!
! #elif defined(BOOST_WINDOWS) || defined(__MINGW32__)
! // Win32
! #define ADOBE_PLATFORM_WIN 1
!
! #elif defined(__BEOS__)
! // BeOS
! #define ADOBE_PLATFORM_BEOS 1
#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
+ // MacOS
+ #define ADOBE_PLATFORM_MAC 1
! #elif defined(__IBMCPP__)
! // IBM
! #define ADOBE_PLATFORM_AIX 1
! #elif defined(__amigaos__)
! // AmigaOS
! #define ADOBE_PLATFORM_AMIGA 1
! #elif defined(unix) || defined(__unix) || defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE)
! // Generic Unix
! #define ADOBE_PLATFORM_UNIX 1
#else
! // Unknown
! #error "Unknown platform - please configure and report the results to opensource.adobe.com"
#endif
Index: cmath.hpp
===================================================================
RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/cmath.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** cmath.hpp 13 Apr 2005 12:30:27 -0000 1.6
--- cmath.hpp 13 Apr 2005 16:20:58 -0000 1.7
***************
*** 34,38 ****
} // namespace adobe
! #elif defined(ADOBE_PLATFORM_WIN) || defined(ADOBE_PLATFORM_UNIX)
namespace adobe {
--- 34,40 ----
} // namespace adobe
! #elif defined(ADOBE_PLATFORM_WIN) || \
! defined(ADOBE_PLATFORM_UNIX) || \
! defined(ADOBE_PLATFORM_LINUX)
namespace adobe {
|