diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-03-13 00:38:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-03-13 00:38:51 +0300 |
commit | f0316e0ea21fa5d5101cfa02b405f3c500e7afae (patch) | |
tree | 7c3fed08e663b92025cae2b6620a2e92584dd68a /intern/ghost | |
parent | 3444d6612a525b879857c60d49165efb01f77529 (diff) |
oddly enough this printf was the only problem compiling blender with GCC 4.3
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemX11.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp index cfd77e5cef1..55881b1f007 100644 --- a/intern/ghost/intern/GHOST_SystemX11.cpp +++ b/intern/ghost/intern/GHOST_SystemX11.cpp @@ -95,6 +95,9 @@ #include <unistd.h> #include <vector> + +#include <stdio.h> // for fprintf only + //these are for copy and select copy static char *txt_cut_buffer= NULL; static char *txt_select_buffer= NULL; @@ -1033,7 +1036,7 @@ GHOST_TInt8 *buffer, int flag) const XSetSelectionOwner(m_display, Primary_atom, m_window, CurrentTime); owner = XGetSelectionOwner(m_display, Primary_atom); if (owner != m_window) - printf("failed to own primary\n"); + fprintf(stderr, "failed to own primary\n"); return; } |