Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Unified Diff: src/platform.h

Issue 2092007: Build on Solaris systems without glibc compatibility
Patch Set: Add comment about negative NaN" Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/platform-solaris.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform.h
diff --git a/src/platform.h b/src/platform.h
index 7156441b3a6b3262c0946963662222dd27e2a1ce..606e5b46e6c8238ab1654f126c28b6cc54687033 100644
--- a/src/platform.h
+++ b/src/platform.h
@@ -83,6 +83,14 @@ int random();
#endif // WIN32
+
+#ifdef __sun
+# ifndef signbit
+int signbit(double x);
+# endif
+#endif
+
+
// GCC specific stuff
#ifdef __GNUC__
« no previous file with comments | « no previous file | src/platform-solaris.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698