Skip to content

Commit a38a421

Browse files
committedJul 13, 2023
8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c
Reviewed-by: prr
1 parent 812dadb commit a38a421

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎src/java.desktop/unix/native/common/awt/fontpath.c

-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848
#define AWT_UNLOCK()
4949
#endif /* !HEADLESS */
5050

51-
#if defined(__linux__) && !defined(MAP_FAILED)
52-
#define MAP_FAILED ((caddr_t)-1)
53-
#endif
54-
5551
#ifndef HEADLESS
5652
extern Display *awt_display;
5753
#endif /* !HEADLESS */

0 commit comments

Comments
 (0)
Please sign in to comment.