Browse Source

Fix pnUUID compilation on Linux

Michael Hansen 13 years ago
parent
commit
247749934b
  1. 2
      Sources/Plasma/Apps/plClient/winmain.cpp
  2. 2
      Sources/Plasma/NucleusLib/pnUUID/pnUUID.h
  3. 5
      Sources/Plasma/NucleusLib/pnUUID/pnUUID_Win32.cpp

2
Sources/Plasma/Apps/plClient/winmain.cpp

@ -1129,8 +1129,8 @@ void StatusCallback(void *param)
} }
} }
delete [] statusUrl;
curl_easy_cleanup(hCurl); curl_easy_cleanup(hCurl);
delete [] statusUrl;
s_statusEvent.Signal(); s_statusEvent.Signal();
} }

2
Sources/Plasma/NucleusLib/pnUUID/pnUUID.h

@ -74,7 +74,7 @@ public:
int CompareTo( const plUUID * v ) const; int CompareTo( const plUUID * v ) const;
bool IsEqualTo( const plUUID * v ) const; bool IsEqualTo( const plUUID * v ) const;
bool FromString( const char * str ); bool FromString( const char * str );
bool FromString( const plString & str ); bool FromString( const plString & str ) { return FromString( str.c_str() ); }
bool ToString( plString & out ) const; bool ToString( plString & out ) const;
plString AsString() const; plString AsString() const;
void Read( hsStream * s ); void Read( hsStream * s );

5
Sources/Plasma/NucleusLib/pnUUID/pnUUID_Win32.cpp

@ -88,11 +88,6 @@ bool plUUID::FromString( const char * str )
return RPC_S_OK == UuidFromString( (unsigned char *)str, (GUID *)this ); return RPC_S_OK == UuidFromString( (unsigned char *)str, (GUID *)this );
} }
bool plUUID::FromString( const plString & str )
{
return FromString( str.c_str() );
}
bool plUUID::ToString( plString & out ) const bool plUUID::ToString( plString & out ) const
{ {
out = _TEMP_CONVERT_FROM_LITERAL(""); out = _TEMP_CONVERT_FROM_LITERAL("");

Loading…
Cancel
Save