diff options
Diffstat (limited to 'gnulib-local/build-aux')
-rwxr-xr-x | gnulib-local/build-aux/moopp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnulib-local/build-aux/moopp b/gnulib-local/build-aux/moopp index 2792df8..92c98bb 100755 --- a/gnulib-local/build-aux/moopp +++ b/gnulib-local/build-aux/moopp @@ -468,7 +468,7 @@ func_emit_source_h () echo "/* ${main_classname}_t is defined as a pointer to struct ${main_repclassalias}." echo " In C++ mode, we use a smart pointer class." echo " In C mode, we have no other choice than a typedef to the root class type. */" - echo "#ifdef __cplusplus" + echo "#if IS_CPLUSPLUS" echo "struct ${main_classname}_t" echo "{" echo "private:" @@ -610,7 +610,7 @@ func_emit_source_c () else rootclassname="$main_classname" fi - echo "#ifndef __cplusplus" + echo "#if !IS_CPLUSPLUS" echo "#define ${main_classname}_representation any_${rootclassname}_representation" echo "#endif" echo "#include \"${main_classname}.priv.h\"" |