Misc MSVC tweaks.
This commit is contained in:
parent
7c846972bf
commit
7d07e6ea51
@ -42,7 +42,7 @@
|
|||||||
SG_USING_STD(string);
|
SG_USING_STD(string);
|
||||||
|
|
||||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||||
# include <winsock2.h>
|
# include <winsock.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SG_MAX_SOCKET_QUEUE 32
|
#define SG_MAX_SOCKET_QUEUE 32
|
||||||
|
@ -694,7 +694,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Check a single mode attribute for the property node.
|
* Check a single mode attribute for the property node.
|
||||||
*/
|
*/
|
||||||
bool getAttribute (Attribute attr) const { return (_attr & attr); }
|
bool getAttribute (Attribute attr) const { return (bool)(_attr & attr); }
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user