ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/utils/ElementsTable.cpp
(Generate patch)

Comparing branches/development/src/utils/ElementsTable.cpp (file contents):
Revision 1627 by gezelter, Tue Sep 13 22:05:04 2011 UTC vs.
Revision 1767 by gezelter, Fri Jul 6 22:01:58 2012 UTC

# Line 29 | Line 29 | GNU General Public License for more details.
29   * @version 1.0
30   */
31  
32 #include <iostream>
32   #include "config.h"
33 +
34 + #include <iostream>
35   #include <cstdlib>
36   #include <string>
37   #include <fstream>
# Line 39 | Line 40 | GNU General Public License for more details.
40   #include "utils/simError.h"
41   #include "io/ifstrstream.hpp"
42  
43 < #if !HAVE_STRNCASECMP
44 < extern "C" int strncasecmp(const char *s1, const char *s2, size_t n);
43 > #ifdef _MSC_VER
44 > #define strncasecmp _strnicmp
45 > #define strcasecmp _stricmp
46   #endif
47  
48 +
49   #ifdef WIN32
50   #define FILE_SEP_CHAR "\\"
51   #else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines