--- idct_mmx.asm 2004/07/24 11:46:08 1.8 +++ idct_mmx.asm 2004/08/22 11:46:09 1.9 @@ -19,7 +19,7 @@ ; * along with this program; if not, write to the Free Software ; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ; * -; * $Id: idct_mmx.asm,v 1.8 2004/07/24 11:46:08 edgomez Exp $ +; * $Id: idct_mmx.asm,v 1.9 2004/08/22 11:46:09 edgomez Exp $ ; * ; ***************************************************************************/ @@ -52,10 +52,19 @@ %macro cglobal 1 %ifdef PREFIX - global _%1 - %define %1 _%1 + %ifdef MARK_FUNCS + global _%1:function + %define %1 _%1:function + %else + global _%1 + %define %1 _%1 + %endif %else - global %1 + %ifdef MARK_FUNCS + global %1:function + %else + global %1 + %endif %endif %endmacro