stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r525985 - /incubator/stdcxx/trunk/tests/src/valcmp.cpp
Date Thu, 05 Apr 2007 22:31:17 GMT
Author: sebor
Date: Thu Apr  5 15:31:12 2007
New Revision: 525985

URL: http://svn.apache.org/viewvc?view=rev&rev=525985
Log:
2007-04-05  Martin Sebor  <sebor@roguewave.com>

	* valcmp.cpp (rw_fltcmp): Corrected typos in preprocessor conditional.

Modified:
    incubator/stdcxx/trunk/tests/src/valcmp.cpp

Modified: incubator/stdcxx/trunk/tests/src/valcmp.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/src/valcmp.cpp?view=diff&rev=525985&r1=525984&r2=525985
==============================================================================
--- incubator/stdcxx/trunk/tests/src/valcmp.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/valcmp.cpp Thu Apr  5 15:31:12 2007
@@ -6,16 +6,21 @@
  *
  ************************************************************************
  *
- * Copyright (c) 1994-2005 Quovadx,  Inc., acting through its  Rogue Wave
- * Software division. Licensed under the Apache License, Version 2.0 (the
- * "License");  you may  not use this file except  in compliance with the
- * License.    You    may   obtain   a   copy   of    the   License    at
- * http://www.apache.org/licenses/LICENSE-2.0.    Unless   required    by
- * applicable law  or agreed to  in writing,  software  distributed under
- * the License is distributed on an "AS IS" BASIS,  WITHOUT WARRANTIES OR
- * CONDITIONS OF  ANY KIND, either  express or implied.  See  the License
- * for the specific language governing permissions  and limitations under
- * the License.
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  "License"); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
  * 
  **************************************************************************/
 
@@ -706,7 +711,7 @@
 _TEST_EXPORT int
 rw_fltcmp (float x, float y)
 {
-#if _RWSTD_SHRT_SIZE == _RWSTD_INT_SIZE
+#if _RWSTD_FLT_SIZE == _RWSTD_SHRT_SIZE
     typedef short IntT;
     const IntT imin = _RWSTD_SHRT_MIN;
 #elif _RWSTD_FLT_SIZE == _RWSTD_INT_SIZE



Mime
View raw message