projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add input-focus support for System 7, where the Control Manager can't do
[u/mdw/putty]
/
mac
/
mtcpnet.c
diff --git
a/mac/mtcpnet.c
b/mac/mtcpnet.c
index
f355232
..
754ce18
100644
(file)
--- a/
mac/mtcpnet.c
+++ b/
mac/mtcpnet.c
@@
-27,6
+27,8
@@
* mtcpnet.c - MacTCP interface
*/
* mtcpnet.c - MacTCP interface
*/
+#if !TARGET_API_MAC_CARBON
+
#include <MacTypes.h>
#include <Devices.h>
#include <Endian.h>
#include <MacTypes.h>
#include <Devices.h>
#include <Endian.h>
@@
-829,13
+831,7
@@
OSErr CloseResolver(void)
return noErr;
}
return noErr;
}
-/* MacTCP doesn't have a services database. */
-int net_service_lookup(char *service)
-{
-
- return 0;
-}
-
+#endif
/*
* Local Variables:
/*
* Local Variables: