comparison src/video/maccommon/SDL_macwm.c @ 1338:604d73db6802

Removed uses of stdlib.h and string.h
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 09:29:18 +0000
parents 3692456e7b0f
children c71e05b4dc2e
comparison
equal deleted inserted replaced
1337:c687f06c7473 1338:604d73db6802
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 22
23 #include <stdlib.h>
24 #include <string.h>
25
26 #if defined(__APPLE__) && defined(__MACH__) 23 #if defined(__APPLE__) && defined(__MACH__)
27 #include <Carbon/Carbon.h> 24 #include <Carbon/Carbon.h>
28 #elif TARGET_API_MAC_CARBON && (UNIVERSAL_INTERFACES_VERSION > 0x0335) 25 #elif TARGET_API_MAC_CARBON && (UNIVERSAL_INTERFACES_VERSION > 0x0335)
29 #include <Carbon.h> 26 #include <Carbon.h>
30 #else 27 #else
31 #include <Windows.h> 28 #include <Windows.h>
32 #include <Strings.h> 29 #include <Strings.h>
33 #endif 30 #endif
34 31
32 #include "SDL_string.h"
35 #include "SDL_macwm_c.h" 33 #include "SDL_macwm_c.h"
36 34
37 void Mac_SetCaption(_THIS, const char *title, const char *icon) 35 void Mac_SetCaption(_THIS, const char *title, const char *icon)
38 { 36 {
39 /* Don't convert C to P string in place, because it may be read-only */ 37 /* Don't convert C to P string in place, because it may be read-only */