# | Line 19 | Line 19 | |
---|---|---|
19 | */ | |
20 | ||
21 | #include "sysdeps.h" | |
22 | – | |
23 | – | #include <X11/Xlib.h> |
24 | – | |
22 | #include "clip.h" | |
23 | #include "macos_util.h" | |
24 | #include "prefs.h" | |
# | Line 30 | Line 27 | |
27 | #include "debug.h" | |
28 | ||
29 | ||
30 | < | // From main_unix.cpp |
30 | > | // From video_x.cpp |
31 | > | #ifndef USE_SDL_VIDEO |
32 | > | #include <X11/Xlib.h> |
33 | extern Display *x_display; | |
34 | + | #endif |
35 | ||
36 | ||
37 | // Conversion tables | |
# | Line 87 | Line 87 | void PutScrap(uint32 type, void *scrap, | |
87 | if (length <= 0) | |
88 | return; | |
89 | ||
90 | + | #ifndef USE_SDL_VIDEO |
91 | switch (type) { | |
92 | case FOURCC('T','E','X','T'): | |
93 | D(bug(" clipping TEXT\n")); | |
# | Line 110 | Line 111 | void PutScrap(uint32 type, void *scrap, | |
111 | delete[] buf; | |
112 | break; | |
113 | } | |
114 | + | #endif |
115 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |