1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-16 18:15:17 +00:00

Make sure that no X11 stuff is in the binary when not requested

This commit is contained in:
Nikolas Garofil 2009-05-31 16:48:16 +02:00
parent 01bc44aaf6
commit c91e2ed38e
4 changed files with 6 additions and 1 deletions

View File

@ -317,7 +317,9 @@ int spaced_print(char *, int, const char *, int, ...)
__attribute__((format(printf, 3, 5)));
extern int inotify_fd;
#ifdef X11
#define TO_X 1
#endif
#define TO_STDOUT 2
#define TO_STDERR 4
#define OVERWRITE_FILE 8

View File

@ -183,4 +183,3 @@ void load_fonts(void)
}
}
}

View File

@ -24,6 +24,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifdef X11
#ifndef _FONTS_H
#define _FONTS_H
@ -76,3 +77,4 @@ void free_fonts(void);
void load_fonts(void);
#endif /* _FONTS_H */
#endif /* X11 */

View File

@ -1,3 +1,4 @@
#ifdef X11
#ifndef X11_H_
#define X11_H_
@ -85,3 +86,4 @@ void set_transparent_background(Window win);
long get_x11_color(const char *);
#endif /*X11_H_*/
#endif /* X11 */