X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fcase.h;h=bdb68dc65b55617a463fe0ca6ab10a9892d9327b;hb=cb69d66ae23a4d0365c53faa25361f3c4b9f693d;hp=6f6abeb50938a67f10c710a3d38ddeea59669c5d;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp-builds.git diff --git a/src/data/case.h b/src/data/case.h index 6f6abeb5..bdb68dc6 100644 --- a/src/data/case.h +++ b/src/data/case.h @@ -30,7 +30,7 @@ struct ccase { struct case_data *case_data; /* Actual data. */ -#if GLOBAL_DEBUGGING +#if DEBUGGING struct ccase *this; /* Detects unauthorized move/copy. */ #endif }; @@ -43,7 +43,7 @@ struct case_data union value values[1]; /* Values. */ }; -#ifdef GLOBAL_DEBUGGING +#ifdef DEBUGGING #define CASE_INLINE #else #define CASE_INLINE static @@ -89,9 +89,9 @@ union value *case_data_all_rw (struct ccase *); void case_unshare (struct ccase *); -#ifndef GLOBAL_DEBUGGING +#ifndef DEBUGGING #include -#include "str.h" +#include static inline void case_nullify (struct ccase *c) @@ -183,6 +183,6 @@ case_data_rw (struct ccase *c, size_t idx) case_unshare (c); return &c->case_data->values[idx]; } -#endif /* !GLOBAL_DEBUGGING */ +#endif /* !DEBUGGING */ #endif /* case.h */