Skip to content

Commit

Permalink
Merge pull request #640 from tehnick/fix-build-with-case-sensitive-in…
Browse files Browse the repository at this point in the history
…cludes

Fix builds with case sensitive includes
  • Loading branch information
OpenSceneGraph git repository committed Oct 10, 2018
2 parents 81998b0 + dbb00f6 commit 83e51f1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/osghangglide/hat.cpp
Expand Up @@ -17,7 +17,7 @@
*/

#ifdef _MSC_VER
#include <Windows.h>
#include <windows.h>
#pragma warning( disable : 4244 )
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/osgPlugins/ZeroConfDevice/CMakeLists.txt
Expand Up @@ -19,7 +19,7 @@ IF(WIN32)
mdns_win/dns_sd.h
mdns_win/dns-sd.c
)
SET(TARGET_EXTERNAL_LIBRARIES "${TARGET_EXTERNAL_LIBRARIES};Ws2_32.lib;winmm")
SET(TARGET_EXTERNAL_LIBRARIES "${TARGET_EXTERNAL_LIBRARIES};ws2_32.lib;winmm")
SET(TARGET_LIBRARIES_VARS ZEROCONF_LIBRARY)
ADD_DEFINITIONS(-DNOT_HAVE_GETOPT)
ADD_DEFINITIONS(-DNOT_HAVE_SETLINEBUF)
Expand Down
4 changes: 2 additions & 2 deletions src/osgPlugins/ply/typedefs.h
Expand Up @@ -13,8 +13,8 @@
#define MESH_TYPEDEFS_H

# if defined(_MSC_VER)
# include <Winsock2.h>
# include <Windows.h>
# include <winsock2.h>
# include <windows.h>
# endif

# include <osg/Notify>
Expand Down
2 changes: 1 addition & 1 deletion src/osgPlugins/vrml/CMakeLists.txt
Expand Up @@ -27,7 +27,7 @@ IF (WIN32)
PNG_LIBRARY
ZLIB_LIBRARIES)
SET(TARGET_EXTERNAL_LIBRARIES
Ws2_32.lib)
ws2_32.lib)
ELSE()
SET(TARGET_LIBRARIES_VARS
OPENVRML_LIBRARY)
Expand Down

0 comments on commit 83e51f1

Please sign in to comment.