comparison libinterp/corefcn/gl2ps-print.cc @ 21539:212bafe8413a

gl2ps-print.cc: Fix compiling whet --without-opengl used. * gl2ps-print.cc: Move #include "gl2ps-print.h" outside of HAVE_GL2PS_H ifdef.
author Rik <rik@octave.org>
date Fri, 25 Mar 2016 16:37:52 -0700
parents ab8760b1245d
children aba2e6293dd8
comparison
equal deleted inserted replaced
21538:eb15bc7c5c0b 21539:212bafe8413a
22 22
23 #ifdef HAVE_CONFIG_H 23 #ifdef HAVE_CONFIG_H
24 # include "config.h" 24 # include "config.h"
25 #endif 25 #endif
26 26
27 // Both header files are required outside of HAVE_GLP2S_H
27 #include "errwarn.h" 28 #include "errwarn.h"
29 #include "gl2ps-print.h"
28 30
29 #ifdef HAVE_GL2PS_H 31 #ifdef HAVE_GL2PS_H
30 32
31 #include <cstdio> 33 #include <cstdio>
32 #include <limits> 34 #include <limits>
36 38
37 #include "lo-mappers.h" 39 #include "lo-mappers.h"
38 #include "oct-locbuf.h" 40 #include "oct-locbuf.h"
39 #include "unwind-prot.h" 41 #include "unwind-prot.h"
40 42
41 #include "gl2ps-print.h"
42 #include "gl-render.h" 43 #include "gl-render.h"
43 #include "oct-opengl.h" 44 #include "oct-opengl.h"
44 #include "sighandlers.h" 45 #include "sighandlers.h"
45 #include "sysdep.h" 46 #include "sysdep.h"
46 #include "text-renderer.h" 47 #include "text-renderer.h"
821 822
822 // Make sure buffered commands are finished!!! 823 // Make sure buffered commands are finished!!!
823 rend.finish (); 824 rend.finish ();
824 825
825 #else 826 #else
826
827 err_disabled_feature ("gl2ps_print", "gl2ps"); 827 err_disabled_feature ("gl2ps_print", "gl2ps");
828
829 #endif 828 #endif
830 } 829 }