Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename HAVE_CONFIG_H to HAVE_ASN1C_CONFIG_H #202

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/sample.makefile.regen
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if test ! -f converter-example.mk ; then
fi

EXTRA_CFLAGS="-DJUNKTEST -D_DEFAULT_SOURCE"
test -f config.h && EXTRA_CFLAGS="-DHAVE_CONFIG_H ${EXTRA_CFLAGS}"
test -f config.h && EXTRA_CFLAGS="-DHAVE_ASN1C_CONFIG_H ${EXTRA_CFLAGS}"
test -n "$TITLE" && EXTRA_CFLAGS="-DASN_CONVERTER_TITLE=\"$TITLE\" ${EXTRA_CFLAGS}"

{
Expand Down
2 changes: 1 addition & 1 deletion libasn1common/asn1_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* SUCH DAMAGE.
*
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_ASN1C_CONFIG_H
#include <config.h>
#endif

Expand Down
2 changes: 1 addition & 1 deletion libasn1compiler/asn1c_internal.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef ASN1_COMPILER_INTERNAL_H
#define ASN1_COMPILER_INTERNAL_H

#ifdef HAVE_CONFIG_H
#ifdef HAVE_ASN1C_CONFIG_H
#include <config.h>
#endif

Expand Down
2 changes: 1 addition & 1 deletion libasn1fix/asn1fix_internal.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef ASN1FIX_INTERNAL_H
#define ASN1FIX_INTERNAL_H

#ifdef HAVE_CONFIG_H
#ifdef HAVE_ASN1C_CONFIG_H
#include <config.h>
#endif

Expand Down
4 changes: 2 additions & 2 deletions libasn1parser/asn1p_integer.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#ifndef ASN1P_INTEGER_H
#define ASN1P_INTEGER_H

#ifdef HAVE_CONFIG_H
#ifdef HAVE_ASN1C_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
#endif /* HAVE_ASN1C_CONFIG_H */

#include <asn1_buffer.h>

Expand Down
4 changes: 2 additions & 2 deletions libasn1parser/asn1parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#ifndef ASN1PARSER_H
#define ASN1PARSER_H

#ifdef HAVE_CONFIG_H
#ifdef HAVE_ASN1C_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
#endif /* HAVE_ASN1C_CONFIG_H */

#include "asn1_ref.h"
#include "asn1_buffer.h"
Expand Down
2 changes: 1 addition & 1 deletion skeletons/asn_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef ASN_SYSTEM_H
#define ASN_SYSTEM_H

#ifdef HAVE_CONFIG_H
#ifdef HAVE_ASN1C_CONFIG_H
#include "config.h"
#endif

Expand Down
2 changes: 1 addition & 1 deletion skeletons/converter-example.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* cc -DPDU=MyCustomType -o myDecoder.o -c converter-example.c
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_ASN1C_CONFIG_H
#include <config.h>
#endif
#define __EXTENSIONS__
Expand Down
Loading