Skip to content

Commit

Permalink
fix preprocessor in main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
rask24 committed Jan 15, 2024
1 parent 076fa85 commit b8e3c58
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,24 @@
/* By: reasuke <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/10 12:37:36 by reasuke #+# #+# */
/* Updated: 2024/01/12 16:17:17 by reasuke ### ########.fr */
/* Updated: 2024/01/15 12:04:04 by reasuke ### ########.fr */
/* */
/* ************************************************************************** */

#include "push_swap.h"

#ifdef DEV

# ifdef __APPLE__

__attribute__((destructor))
void destructor(void)
{
system("leaks -q push_swap");
}

# endif

void put_void(void *content)
{
puts(content);
Expand Down

0 comments on commit b8e3c58

Please sign in to comment.