GitLab will be down for maintenance this Sunday 13th June, from approx 7-11am UTC. This is for a PostgreSQL migration. See the tracker issue for more informations.

Commit aa5698e8 authored by Brian Paul's avatar Brian Paul
Browse files

DJGPP fixes

parent cf4c9ada
#!/usr/bin/env python
# $Id: glx86asm.py,v 1.3 2001/03/28 17:22:11 brianp Exp $
# $Id: glx86asm.py,v 1.3.2.1 2002/04/01 17:09:25 brianp Exp $
# Mesa 3-D graphics library
# Version: 3.4
......@@ -55,7 +55,7 @@ def PrintHead():
print ''
print '#define GL_OFFSET(x) CODEPTR(REGOFF(4 * x, EAX))'
print ''
print '#ifdef GNU_ASSEMBLER'
print '#if defined(GNU_ASSEMBLER) && !defined(DJGPP)'
print '#define GLOBL_FN(x) GLOBL x ; .type x,@function'
print '#else'
print '#define GLOBL_FN(x) GLOBL x'
......
/* $Id: assyntax.h,v 1.16.2.3 2002/03/07 21:39:09 brianp Exp $ */
/* $Id: assyntax.h,v 1.16.2.4 2002/04/01 17:09:25 brianp Exp $ */
#ifndef __ASSYNTAX_H__
#define __ASSYNTAX_H__
......@@ -254,7 +254,7 @@
#endif /* ACK_ASSEMBLER */
#if defined(__QNX__) || defined(Lynx) || (defined(SYSV) || defined(SVR4)) && !defined(ACK_ASSEMBLER) || defined(__ELF__) || defined(__GNU__) || defined(__GNUC__)
#if defined(__QNX__) || defined(Lynx) || (defined(SYSV) || defined(SVR4)) && !defined(ACK_ASSEMBLER) || defined(__ELF__) || defined(__GNU__) || defined(__GNUC__) && !defined(DJGPP)
#define GLNAME(a) a
#else
#define GLNAME(a) CONCAT(_,a)
......
......@@ -12,7 +12,7 @@
#define GL_OFFSET(x) CODEPTR(REGOFF(4 * x, EAX))
#ifdef GNU_ASSEMBLER
#if defined(GNU_ASSEMBLER) && !defined(DJGPP)
#define GLOBL_FN(x) GLOBL x ; .type x,@function
#else
#define GLOBL_FN(x) GLOBL x
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment