Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
architecture.cpp
Go to the documentation of this file.
00001 
00002 #include <util/architecture.hpp>
00003 
00004 namespace hype
00005 {
00006    namespace util
00007    {
00008 
00009 
00010       Architecture getArchitecture()
00011       {
00012 #ifdef __LP64__
00013          //64-bit Intel or PPC
00014          //#warning "Compiling for 64 Bit"
00015          return Architecture_64Bit;
00016 #else
00017          //32-bit Intel, PPC or ARM
00018          //#warning "Compiling for 32 Bit"
00019          return Architecture_32Bit;
00020 #endif
00021       }
00022 
00023    }; //end namespace util
00024 }; //end namespace hype
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines