Mac and Linux SDL2 binary snapshots
Edward Rudd
2020-05-02 4e3209e407d334dabb8b58cd5a21a5c6c65f5ef4
include/SDL2/SDL_bits.h
@@ -1,6 +1,6 @@
/*
  Simple DirectMedia Layer
  Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
  Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
@@ -101,6 +101,15 @@
#endif
}
SDL_FORCE_INLINE SDL_bool
SDL_HasExactlyOneBitSet32(Uint32 x)
{
    if (x && !(x & (x - 1))) {
        return SDL_TRUE;
    }
    return SDL_FALSE;
}
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
}