Fix "DoLoadableServer NO" build
This commit is contained in:
parent
71164d118c
commit
854c1afa86
|
@ -42,8 +42,8 @@
|
||||||
#include "g_disptab.h"
|
#include "g_disptab.h"
|
||||||
#include "GL/glx_ansic.h"
|
#include "GL/glx_ansic.h"
|
||||||
|
|
||||||
#if defined(__CYGWIN__) || defined(__DARWIN__) /* should be XFree86Server */
|
#if defined(XFree86LOADER) && !defined(__CYGWIN__) && !defined(__DARWIN__)
|
||||||
#define xf86atof atof
|
#define atof xf86atof
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int __glXDisp_FeedbackBuffer(__GLXclientState *cl, GLbyte *pc)
|
int __glXDisp_FeedbackBuffer(__GLXclientState *cl, GLbyte *pc)
|
||||||
|
@ -345,7 +345,7 @@ int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap)
|
||||||
string = buf;
|
string = buf;
|
||||||
}
|
}
|
||||||
else if ( name == GL_VERSION ) {
|
else if ( name == GL_VERSION ) {
|
||||||
if ( xf86atof( string ) > xf86atof( GLServerVersion ) ) {
|
if ( atof( string ) > atof( GLServerVersion ) ) {
|
||||||
buf = __glXMalloc( __glXStrlen( string )
|
buf = __glXMalloc( __glXStrlen( string )
|
||||||
+ __glXStrlen( GLServerVersion )
|
+ __glXStrlen( GLServerVersion )
|
||||||
+ 4 );
|
+ 4 );
|
||||||
|
|
|
@ -57,6 +57,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#define _XF86DRI_SERVER_
|
#define _XF86DRI_SERVER_
|
||||||
#include "xf86dristr.h"
|
#include "xf86dristr.h"
|
||||||
#include "swaprep.h"
|
#include "swaprep.h"
|
||||||
|
#include "xf86str.h"
|
||||||
#include "dri.h"
|
#include "dri.h"
|
||||||
#include "sarea.h"
|
#include "sarea.h"
|
||||||
#include "dristruct.h"
|
#include "dristruct.h"
|
||||||
|
|
|
@ -54,6 +54,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#define _XF86DRI_SERVER_
|
#define _XF86DRI_SERVER_
|
||||||
#include "xf86dristr.h"
|
#include "xf86dristr.h"
|
||||||
#include "swaprep.h"
|
#include "swaprep.h"
|
||||||
|
#include "xf86str.h"
|
||||||
#include "dri.h"
|
#include "dri.h"
|
||||||
#include "sarea.h"
|
#include "sarea.h"
|
||||||
#include "dristruct.h"
|
#include "dristruct.h"
|
||||||
|
|
Loading…
Reference in New Issue