Skip to content

Commit

Permalink
reformat example
Browse files Browse the repository at this point in the history
  • Loading branch information
supervacuus committed Feb 14, 2024
1 parent 07230f4 commit 30cd55f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/example.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#ifdef NDEBUG
# undef NDEBUG
#endif

#include <assert.h>

#ifdef SENTRY_PLATFORM_WINDOWS
# include <synchapi.h>
# define sleep_s(SECONDS) Sleep((SECONDS) * 1000)
#else

# include <signal.h>
# include <unistd.h>

# define sleep_s(SECONDS) sleep(SECONDS)
#endif

Expand Down

0 comments on commit 30cd55f

Please sign in to comment.