• Show log

    Commit

  • Hash : 2ba66d05
    Author : Sam Lantinga
    Date : 2016-12-31T16:21:55

    Fixed bug 3535 - Misplaced comment #if/#endif closure comment
    
    Coriiander
    
    This notice is about a misplaced comment.
    
    Often times when we use an #if #endif sequence, the #endif is followed by a comment to indicate what #if statement it belonged to. The SDL_xaudio2.c file contains a misplaced comment, as follows (I stripped the other comments):
    
    #ifdef __GNUC__
    #  define SDL_XAUDIO2_HAS_SDK 1
    #elif defined(__WINRT__)
    #  define SDL_XAUDIO2_HAS_SDK
    #include "SDL_xaudio2.h"
    #else
    #if 0
    #include <dxsdkver.h>
    #if (!defined(_DXSDK_BUILD_MAJOR) || (_DXSDK_BUILD_MAJOR < 1284))
    #  pragma message("Your DirectX SDK is too old. Disabling XAudio2 support.")
    #else
    #  define SDL_XAUDIO2_HAS_SDK 1
    #endif
    #endif
    #endif /* 0 */
    
    
    
    That final /* 0 */ should be moved one line up. Like this (I tabbed it out for you to make it more clear):
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_w kc3_lang_org thodg_l thodg_m www_kmx_io thodg
    Tags

  • README.txt

  •                          Simple DirectMedia Layer
    
                                      (SDL)
    
                                    Version 2.0
    
    ---
    http://www.libsdl.org/
    
    Simple DirectMedia Layer is a cross-platform development library designed
    to provide low level access to audio, keyboard, mouse, joystick, and graphics
    hardware via OpenGL and Direct3D. It is used by video playback software,
    emulators, and popular games including Valve's award winning catalog
    and many Humble Bundle games.
    
    More extensive documentation is available in the docs directory, starting
    with README.md
    
    Enjoy!
    	Sam Lantinga				(slouken@libsdl.org)