summaryrefslogtreecommitdiff
path: root/include/libdecnumber/dpd/decimal32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libdecnumber/dpd/decimal32.h')
-rw-r--r--include/libdecnumber/dpd/decimal32.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/libdecnumber/dpd/decimal32.h b/include/libdecnumber/dpd/decimal32.h
index 6cb9e4362..de313e002 100644
--- a/include/libdecnumber/dpd/decimal32.h
+++ b/include/libdecnumber/dpd/decimal32.h
@@ -32,9 +32,8 @@
/* Decimal 32-bit format module header */
/* ------------------------------------------------------------------ */
-#ifndef DECIMAL32_H
-#define DECIMAL32_H
-
+#if !defined(DECIMAL32)
+ #define DECIMAL32
#define DEC32NAME "decimal32" /* Short name */
#define DEC32FULLNAME "Decimal 32-bit Number" /* Verbose name */
#define DEC32AUTHOR "Mike Cowlishaw" /* Who to blame */
@@ -60,7 +59,9 @@
#ifndef DECNUMDIGITS
#define DECNUMDIGITS DECIMAL32_Pmax /* size if not already defined*/
#endif
- #include "libdecnumber/decNumber.h"
+ #ifndef DECNUMBER
+ #include "libdecnumber/decNumber.h"
+ #endif
/* Decimal 32-bit type, accessible by bytes */
typedef struct {