8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c

Reviewed-by: prr
This commit is contained in:
Matthias Baesken 2023-07-13 07:11:14 +00:00
parent 812dadb0f9
commit a38a421f62

View File

@ -48,10 +48,6 @@
#define AWT_UNLOCK()
#endif /* !HEADLESS */
#if defined(__linux__) && !defined(MAP_FAILED)
#define MAP_FAILED ((caddr_t)-1)
#endif
#ifndef HEADLESS
extern Display *awt_display;
#endif /* !HEADLESS */