Commit 958fcddc authored by remicres's avatar remicres

ADD: detect if system is 32 or 64 bits

parent abf96caa
......@@ -21,6 +21,24 @@
#include "otbImageFileWriter.h"
#endif
// Check windows
#if _WIN32 || _WIN64
#if _WIN64
#define ENVIRONMENT64
#else
#define ENVIRONMENT32
#endif
#endif
// Check GCC
#if __GNUC__
#if __x86_64__ || __ppc64__
#define ENVIRONMENT64
#else
#define ENVIRONMENT32
#endif
#endif
/*
* This function returns TRUE if the process #myrank is assigned
* to the task #div in a pool of #nprocs processes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment