mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
fix missing include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25856 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2243657e33
commit
3a5cd03132
3 changed files with 6 additions and 4 deletions
|
@ -6,6 +6,7 @@
|
|||
* Source/GSStream.h: remove code to GSSocketStream.h
|
||||
* Source/GSStream.m: remove code to GSSocketStream.m
|
||||
* Source/unix/NSStream.m: include GSSocketStream.h
|
||||
* Source/win32/NSStream.m: include GSSocketStream.h
|
||||
Minor restructuring for clarity.
|
||||
|
||||
2007-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
|
|
@ -260,15 +260,16 @@ NSString *
|
|||
GSPrivateSymbolPath(Class theClass, Category *theCategory)
|
||||
{
|
||||
unichar buf[MAX_PATH];
|
||||
NSString *s = nil;
|
||||
MEMORY_BASIC_INFORMATION memInfo;
|
||||
NSCAssert(!theCategory, @"GSPrivateSymbolPath doesn't support categories");
|
||||
|
||||
VirtualQueryEx(GetCurrentProcess(), theClass, &memInfo, sizeof(memInfo));
|
||||
if (GetModuleFileNameW(memInfo.AllocationBase, buf, sizeof(buf)))
|
||||
{
|
||||
return [NSString stringWithCharacters: buf length: wcslen(buf)];
|
||||
s = [NSString stringWithCharacters: buf length: wcslen(buf)];
|
||||
}
|
||||
return 0;
|
||||
return s;
|
||||
}
|
||||
#else
|
||||
NSString *
|
||||
|
|
|
@ -37,8 +37,9 @@
|
|||
#include <Foundation/NSDebug.h>
|
||||
#include <Foundation/NSByteOrder.h>
|
||||
|
||||
#include "../GSStream.h"
|
||||
#include "../GSPrivate.h"
|
||||
#include "../GSStream.h"
|
||||
#include "../GSSocketStream.h"
|
||||
|
||||
#define BUFFERSIZE (BUFSIZ*64)
|
||||
|
||||
|
@ -932,7 +933,6 @@
|
|||
}
|
||||
@end
|
||||
|
||||
|
||||
@implementation NSStream
|
||||
|
||||
+ (void) getStreamsToHost: (NSHost *)host
|
||||
|
|
Loading…
Reference in a new issue