https://github.com/N-BodyShop/changa
Raw File
Tip revision: c11b80a0f5693c010313765334259e494e0b4ba7 authored by Tim Haines on 04 October 2018, 14:33:05 UTC
Force recompilation when compiler flags change
Tip revision: c11b80a
cosmoType.h
#ifndef __COSMOTYPE_H__
#define __COSMOTYPE_H__

/* #define COSMO_FLOAT */

#ifdef COSMO_FLOAT
#define CONVERT_TO_COSMO_TYPE (float)
typedef float cosmoType;
#define COSMO_CONST(val) val##f
#else
#define CONVERT_TO_COSMO_TYPE
typedef double cosmoType;
#define COSMO_CONST(val) val
#endif

#endif
back to top