diff --git a/jdk/make/lib/SoundLibraries.gmk b/jdk/make/lib/SoundLibraries.gmk index 07bd1f28637..5eb2976ef3f 100644 --- a/jdk/make/lib/SoundLibraries.gmk +++ b/jdk/make/lib/SoundLibraries.gmk @@ -111,10 +111,6 @@ ifeq ($(OPENJDK_TARGET_OS), solaris) LIBJSOUND_SRC_FILES += $(LIBJSOUND_DAUDIOFILES) endif # OPENJDK_TARGET_OS solaris - - ifeq ($(OPENJDK_TARGET_CPU), aarch64) - LIBJSOUND_CFLAGS += -DX_ARCH=X_AARCH64 - endif LIBJSOUND_CFLAGS += -DEXTRA_SOUND_JNI_LIBS='"$(EXTRA_SOUND_JNI_LIBS)"' $(eval $(call SetupNativeCompilation,BUILD_LIBJSOUND, \ diff --git a/jdk/src/java.desktop/share/native/libjsound/SoundDefs.h b/jdk/src/java.desktop/share/native/libjsound/SoundDefs.h index b5cef308e40..ab4c1fa9dfb 100644 --- a/jdk/src/java.desktop/share/native/libjsound/SoundDefs.h +++ b/jdk/src/java.desktop/share/native/libjsound/SoundDefs.h @@ -34,7 +34,6 @@ #define X_BSD 4 #define X_MACOSX 5 -#define X_AARCH64 9 // ********************************** // Make sure you set X_PLATFORM defines correctly. // Everything depends upon this flag being setup correctly.