< prev index next >

src/java.desktop/share/native/libmlib_image/mlib_SysMath.h

Print this page
rev 59383 : [mq]: final

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 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

@@ -55,30 +55,16 @@
 
 #else
 
 #define mlib_sqrt       sqrt
 
-#ifdef MLIB_NO_LIBSUNMATH
-
 #define mlib_sinf       (float) sin
 #define mlib_cosf       (float) cos
 void mlib_sincosf (float x, float *s, float *c);
 #define mlib_sqrtf      (float) sqrt
 #define mlib_fabsf      (float) fabs
 
-#else
-
-#include <sunmath.h>
-
-#define mlib_sinf       sinf
-#define mlib_cosf       cosf
-#define mlib_sincosf    sincosf
-#define mlib_sqrtf       sqrtf
-#define mlib_fabsf       fabsf
-
-#endif  /* MLIB_NO_LIBSUNMATH */
-
 #endif  /* MLIB_LIBCAFEMATH */
 
 
   /* internal mathematical functions */
 
< prev index next >