Merge pull request #1 from erinorina/patch-1

Update os.h
This commit is contained in:
Francesco Cozzuto
2024-10-15 17:58:24 +02:00
committed by GitHub
+25 -28
View File
@@ -1,32 +1,32 @@
/* /*
This is free and unencumbered software released into the public domain. * This is free and unencumbered software released into the public domain.
*
Anyone is free to copy, modify, publish, use, compile, sell, or * Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled * distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any * binary, for any purpose, commercial or non-commercial, and by any
means. * means.
*
In jurisdictions that recognize copyright laws, the author or authors * In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the * of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit * software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and * of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of * successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this * relinquishment in perpetuity of all present and future rights to this
software under copyright law. * software under copyright law.
*
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE. * OTHER DEALINGS IN THE SOFTWARE.
*
For more information, please refer to <http://unlicense.org/> * For more information, please refer to <http://unlicense.org/>
*/ */
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
#include "profile.h"
// TODO: Clean up this file // TODO: Clean up this file
@@ -80,9 +80,6 @@ bool os_semaphore_delete(os_semaphore_t *sem);
bool os_semaphore_wait(os_semaphore_t *sem); bool os_semaphore_wait(os_semaphore_t *sem);
bool os_semaphore_signal(os_semaphore_t *sem); bool os_semaphore_signal(os_semaphore_t *sem);
#include <stdint.h>
#include <stdbool.h>
#if defined(_WIN32) #if defined(_WIN32)
#define WIN32_MEAN_AND_LEAN #define WIN32_MEAN_AND_LEAN
#include <windows.h> #include <windows.h>