| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
/* NOTE: Definitions in this file only control building via the Sierra |
| 9 |
* bjam system For SEACAS and Trilinos builds, these are all controlled |
| 10 |
* in the cmake configure step |
| 11 |
*/ |
| 12 |
|
| 13 |
/* Enable this block to build a thread-safe version of the exodus library */ |
| 14 |
#if 0 |
| 15 |
#define EXODUS_THREADSAFE |
| 16 |
#endif |
| 17 |
|
| 18 |
/* Deprecated Code Handling Options: |
| 19 |
* 1. Ignore -- treat deprecated functions as normal non-deprecated functions (default) |
| 20 |
* 2. Delete -- the deprecated functions are not defined or compiled (SEACAS_HIDE_DEPRECATED_CODE is |
| 21 |
* defined) |
| 22 |
* 3. Warn -- if used in client code, issue a warning. (SEACAS_WARN_DEPRECATED_CODE is defined) |
| 23 |
* |
| 24 |
* The symbols SEACAS_HIDE_DEPRECATED_CODE and SEACAS_DEPRECATED are defined in exodus_config.h |
| 25 |
* In a TriBITs-based system, this include file is generated from cmake-variable definitions. |
| 26 |
* In other build systems, the exodus_config.h file is hard-wired. |
| 27 |
*/ |
| 28 |
|
| 29 |
/* Enable this block to eliminate the building of deprecated functions in library */ |
| 30 |
#if 0 |
| 31 |
#define SEACAS_HIDE_DEPRECATED_CODE |
| 32 |
#endif |
| 33 |
|
| 34 |
/* Enable this block to enable warnings if any deprecated functions are used */ |
| 35 |
#if 0 |
| 36 |
#ifndef SEACAS_DEPRECATED |
| 37 |
#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) |
| 38 |
#define SEACAS_DEPRECATED __attribute__((__deprecated__)) |
| 39 |
#else |
| 40 |
#define SEACAS_DEPRECATED |
| 41 |
#endif |
| 42 |
#endif |
| 43 |
#endif |