diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2021-11-10 00:33:16 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2021-11-10 00:33:16 +0100 |
commit | 4a0d9dcb1fffd226925da095684dfce2184fe430 (patch) | |
tree | e17baea025517c207ecf4df87a6b4ce131bb9622 /libgphoto2_port | |
parent | 7d4313ce36a2497db32a0be4da85624e2cf102cc (diff) | |
download | libgphoto2-4a0d9dcb1fffd226925da095684dfce2184fe430.tar.gz |
Use non-reserved macro name for generated gphoto-endian.h
Diffstat (limited to 'libgphoto2_port')
-rw-r--r-- | libgphoto2_port/gphoto-m4/gp-byteorder.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libgphoto2_port/gphoto-m4/gp-byteorder.m4 b/libgphoto2_port/gphoto-m4/gp-byteorder.m4 index e6f9ccdc6..f80c67f66 100644 --- a/libgphoto2_port/gphoto-m4/gp-byteorder.m4 +++ b/libgphoto2_port/gphoto-m4/gp-byteorder.m4 @@ -45,12 +45,13 @@ if test "x$effective_target" = xNONE || test "x$effective_target" = x ; then fi AC_SUBST(effective_target) +m4_pattern_allow([GP_BYTEORDER_H])dnl cat > "$1" << EOF /* This file is generated automatically by configure */ /* It is valid only for the system type ${effective_target} */ -#ifndef __BYTEORDER_H -#define __BYTEORDER_H +#ifndef GP_BYTEORDER_H +#define GP_BYTEORDER_H EOF @@ -446,7 +447,7 @@ esac ] cat >> "$1" << EOF -#endif /*__BYTEORDER_H*/ +#endif /* GP_BYTEORDER_H */ EOF ])dnl dnl |