summaryrefslogtreecommitdiff
path: root/hw/xwin/win.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-30 22:20:09 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-12-05 14:32:45 -0800
commitd829a7c5cb42c979b58f3547136df5b05d906423 (patch)
tree8ba5b6e2788f9bca49d51bb743dd0f211a91fb9f /hw/xwin/win.h
parent4be68b03128e958d2a6dc1b7feb3587329b9561b (diff)
Move to autoconf standard function name checks & defines
Replace multiple methods of checking for functions with AC_CHECK_FUNCS Replace multiple methods of selecting fallback funcs with AC_REPLACE_FUNCS Replace HAS_* and NEED_* #defines with autogenerated HAVE_* Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'hw/xwin/win.h')
-rw-r--r--hw/xwin/win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwin/win.h b/hw/xwin/win.h
index e2e946fb5..ac26d0181 100644
--- a/hw/xwin/win.h
+++ b/hw/xwin/win.h
@@ -143,12 +143,12 @@
#undef HANDLE
#endif
-#ifdef HAS_MMAP
+#ifdef HAVE_MMAP
#include <sys/mman.h>
#ifndef MAP_FILE
#define MAP_FILE 0
#endif /* MAP_FILE */
-#endif /* HAS_MMAP */
+#endif /* HAVE_MMAP */
#include <X11/X.h>
#include <X11/Xproto.h>