< prev index next >

src/java.desktop/unix/native/common/awt/CUPSfuncs.c

Print this page
rev 59383 : [mq]: final

*** 1,7 **** /* ! * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 27,45 **** #include <jni_util.h> #include <jvm_md.h> #include <dlfcn.h> #include <cups/cups.h> #include <cups/ppd.h> - /* - * CUPS #define's __attribute__(x) to be empty unless __GNUC__ is defined. - * However OpenJDK officially uses the SunStudio compiler on Solaris. - * We need to #undef this else it breaks use of this keyword used by JNIEXPORT. - * See: https://github.com/apple/cups/issues/5349 - */ - #ifdef __SUNPRO_C - #undef __attribute__ - #endif //#define CUPS_DEBUG #ifdef CUPS_DEBUG --- 27,36 ----
< prev index next >