Skip to content

Commit

Permalink
Remove include guards from esl_config.h.in
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Oct 10, 2024
1 parent 55752e4 commit 10a8a03
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ else()
message(FATAL_ERROR "Unsupported platform, none of SSE2, NEON or AltiVec available.")
endif()

if(IMPL_FLAGS)
add_compile_options(${IMPL_FLAGS})
endif()
# if(IMPL_FLAGS)
# add_compile_options(${IMPL_FLAGS})
# endif()

# --- Setup include folders ----------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion src/easel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CHECK_INCLUDE_FILE("sys/types.h" HAVE_SYS_TYPES_H)
CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H)
CHECK_INCLUDE_FILE("endian.h" HAVE_ENDIAN_H)
CHECK_INCLUDE_FILE("netinet/in.h" HAVE_NETINET_IN_H)
CHECK_INCLUDE_FILE("sys/[aram.h" HAVE_SYS_PARAM_H)
CHECK_INCLUDE_FILE("sys/param.h" HAVE_SYS_PARAM_H)
CHECK_INCLUDE_FILE("sys/sysctl.h" HAVE_SYS_SYSCTL_H)

CHECK_FUNCTION_EXISTS(aligned_alloc HAVE_ALIGNED_ALLOC)
Expand Down
36 changes: 18 additions & 18 deletions src/easel/esl_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,33 +49,33 @@
#cmakedefine HAVE_LIBGSL

/* Headers */
#ifndef HAVE_ENDIAN_H
// #ifndef HAVE_ENDIAN_H
#cmakedefine HAVE_ENDIAN_H @HAVE_ENDIAN_H@
#endif
#ifndef HAVE_INTTYPES_H
// #endif
// #ifndef HAVE_INTTYPES_H
#cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
#endif
#ifndef HAVE_STDINT_H
// #endif
// #ifndef HAVE_STDINT_H
#cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
#endif
#ifndef HAVE_UNISTD_H
// #endif
// #ifndef HAVE_UNISTD_H
#cmakedefine HAVE_UNISTD_H @HAVE_UNISTD_H@
#endif
#ifndef HAVE_SYS_TYPES_H
// #endif
// #ifndef HAVE_SYS_TYPES_H
#cmakedefine HAVE_SYS_TYPES_H @HAVE_SYS_TYPES_H@
#endif
#ifndef HAVE_STRINGS_H
// #endif
// #ifndef HAVE_STRINGS_H
#cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
#endif
#ifndef HAVE_NETINET_IN_H
// #endif
// #ifndef HAVE_NETINET_IN_H
#cmakedefine HAVE_NETINET_IN_H @HAVE_NETINET_IN_H@ /* On FreeBSD, you need netinet/in.h for struct sockaddr_in */
#endif
#ifndef HAVE_SYS_PARAM_H
// #endif
// #ifndef HAVE_SYS_PARAM_H
#cmakedefine HAVE_SYS_PARAM_H @HAVE_SYS_PARAM_H@
#endif
#ifndef HAVE_SYS_SYSCTL_H
// #endif
// #ifndef HAVE_SYS_SYSCTL_H
#cmakedefine HAVE_SYS_SYSCTL_H @HAVE_SYS_SYSCTL_H@
#endif
// #endif

/* Types */
#cmakedefine WORDS_BIGENDIAN
Expand Down

0 comments on commit 10a8a03

Please sign in to comment.