svn commit: r292627 - head/contrib/gcc/config/rs6000

Andreas Tobler andreast at FreeBSD.org
Tue Dec 22 21:26:52 UTC 2015


Author: andreast
Date: Tue Dec 22 21:26:50 2015
New Revision: 292627
URL: https://svnweb.freebsd.org/changeset/base/292627

Log:
  Silence a boring warning.

Modified:
  head/contrib/gcc/config/rs6000/sysv4.h

Modified: head/contrib/gcc/config/rs6000/sysv4.h
==============================================================================
--- head/contrib/gcc/config/rs6000/sysv4.h	Tue Dec 22 21:07:33 2015	(r292626)
+++ head/contrib/gcc/config/rs6000/sysv4.h	Tue Dec 22 21:26:50 2015	(r292627)
@@ -282,7 +282,9 @@ do {									\
 #define RESTORE_FP_SUFFIX "_l"
 
 /* Type used for ptrdiff_t, as a string used in a declaration.  */
+#ifndef PTRDIFF_TYPE
 #define PTRDIFF_TYPE "int"
+#endif
 
 /* Type used for wchar_t, as a string used in a declaration.  */
 /* Override svr4.h definition.  */


More information about the svn-src-all mailing list