comparison src/audio/SDL_mixer_MMX_VC.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents 450721ad5436
children e3242177fe4a
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
1 /*
2 SDL - Simple DirectMedia Layer
3 Copyright (C) 1997-2006 Sam Lantinga
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19 Sam Lantinga
20 slouken@libsdl.org
21 */
22 #include "SDL_config.h"
1 23
2 #include "SDL_mixer_MMX_VC.h" 24 #include "SDL_mixer_MMX_VC.h"
3 25
4 #if defined(USE_ASM_MIXER_VC) 26 #if defined(_MSC_VER) && defined(M_I86) && defined(SDL_ASSEMBLY_ROUTINES)
5 // MMX assembler version of SDL_MixAudio for signed little endian 16 bit samples and signed 8 bit samples 27 // MMX assembler version of SDL_MixAudio for signed little endian 16 bit samples and signed 8 bit samples
6 // Copyright 2002 Stephane Marchesin (stephane.marchesin@wanadoo.fr) 28 // Copyright 2002 Stephane Marchesin (stephane.marchesin@wanadoo.fr)
7 // Converted to Intel ASM notation by Cth 29 // Converted to Intel ASM notation by Cth
8 // This code is licensed under the LGPL (see COPYING for details) 30 // This code is licensed under the LGPL (see COPYING for details)
9 // 31 //
154 pop esi 176 pop esi
155 pop edi 177 pop edi
156 } 178 }
157 } 179 }
158 180
159 #endif /* USE_ASM_MIXER_VC */ 181 #endif /* SDL_ASSEMBLY_ROUTINES */