~brandontschaefer/libsdl/mir-include-sdl2-pc-fix

« back to all changes in this revision

Viewing changes to include/SDL_stdinc.h

  • Committer: Package Import Robot
  • Author(s): Manuel A. Fernandez Montecelo, !hurd-any
  • Date: 2014-03-19 20:22:29 UTC
  • mfrom: (7.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20140319202229-gaih8nbeixn99kc1
Tags: 2.0.2+dfsg1-3
Actually change Build-Depends libegl1-mesa-dev to be conditionally
[!hurd-any].  It was applied to libgl1-mesa-dev by mistake in -2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
  Simple DirectMedia Layer
3
 
  Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
 
3
  Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
4
4
 
5
5
  This software is provided 'as-is', without any express or implied
6
6
  warranty.  In no event will the authors be held liable for any damages
255
255
#define SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x)))
256
256
 
257
257
/* Note that memset() is a byte assignment and this is a 32-bit assignment, so they're not directly equivalent. */
258
 
SDL_FORCE_INLINE void SDL_memset4(void *dst, int val, size_t dwords)
 
258
SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords)
259
259
{
260
260
#if defined(__GNUC__) && defined(i386)
261
261
    int u0, u1, u2;
331
331
extern DECLSPEC int SDLCALL SDL_strncasecmp(const char *str1, const char *str2, size_t len);
332
332
 
333
333
extern DECLSPEC int SDLCALL SDL_sscanf(const char *text, const char *fmt, ...);
 
334
extern DECLSPEC int SDLCALL SDL_vsscanf(const char *text, const char *fmt, va_list ap);
334
335
extern DECLSPEC int SDLCALL SDL_snprintf(char *text, size_t maxlen, const char *fmt, ...);
335
336
extern DECLSPEC int SDLCALL SDL_vsnprintf(char *text, size_t maxlen, const char *fmt, va_list ap);
336
337
 
340
341
#endif
341
342
#endif
342
343
 
 
344
extern DECLSPEC double SDLCALL SDL_acos(double x);
 
345
extern DECLSPEC double SDLCALL SDL_asin(double x);
343
346
extern DECLSPEC double SDLCALL SDL_atan(double x);
344
347
extern DECLSPEC double SDLCALL SDL_atan2(double x, double y);
345
348
extern DECLSPEC double SDLCALL SDL_ceil(double x);