Added ifdef's around DATA_PTR.

This commit is contained in:
Harry Moffat 2009-08-11 20:13:50 +00:00
parent 38c73aa215
commit 0445c5ec59

View file

@ -32,9 +32,11 @@
#include <string>
#include <algorithm>
/**
* Namespace for the Cantera kernel.
*/
namespace Cantera {
//! creates a pointer to the start of the raw data for a ctvector
#define DATA_PTR(vec) &vec[0]
#ifdef WIN32
#define TYPENAME_KEYWORD
@ -46,10 +48,10 @@
#undef CHEMKIN_COMPATIBILITY_MODE
/**
* Namespace for the Cantera kernel.
*/
namespace Cantera {
//! Creates a pointer to the start of the raw data for a ctvector
#ifndef DATA_PTR
#define DATA_PTR(vec) &vec[0]
#endif
/*!
* All physical constants are stored here.