aboutsummaryrefslogtreecommitdiffstats
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-05-04 23:00:29 -0700
committerGuy Harris <guy@alum.mit.edu>2018-05-05 06:01:05 +0000
commitf447aa7dd7f0e36916847b8bb7193fecc42ddc89 (patch)
tree701898213f910ab3530cd2f2e990713f2217e2be /cmakeconfig.h.in
parent1ebbb09c5bc7a73765e1fa84f6a29ad06731e3b6 (diff)
On Solaris, check for getexecname in CMake.
We expect it to be checked for in wsutil/filesystem.c, so we should check for it. It's a Solarisism, so check for it only on Solaris. Change-Id: I09104c17d2ec91c74862b63e735c32a9d188f2a6 Reviewed-on: https://code.wireshark.org/review/27351 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 2c7ba5c75e..cba6e062e6 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -65,6 +65,9 @@
/* Define to 1 if you have the <ifaddrs.h> header file. */
#cmakedefine HAVE_IFADDRS_H 1
+/* Define to 1 if you have the `getexecname' function. */
+#cmakedefine HAVE_GETEXECNAME 1
+
/* Define to 1 if you have the `getifaddrs' function. */
#cmakedefine HAVE_GETIFADDRS 1