summaryrefslogtreecommitdiff
path: root/gcc/config/sol2-10.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sol2-10.h')
-rw-r--r--gcc/config/sol2-10.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/sol2-10.h b/gcc/config/sol2-10.h
index 81d0f51e144..9df5548e4c1 100644
--- a/gcc/config/sol2-10.h
+++ b/gcc/config/sol2-10.h
@@ -18,5 +18,7 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-/* Solaris 10 has the float and long double forms of math functions. */
-#define TARGET_C99_FUNCTIONS 1
+/* Solaris 10 has the float and long double forms of math functions.
+ We redefine this hook so the version from elfos.h header won't be used. */
+#undef TARGET_LIBC_HAS_FUNCTION
+#define TARGET_LIBC_HAS_FUNCTION default_libc_has_function