aboutsummaryrefslogtreecommitdiff
path: root/system/lib/sdl.cpp
blob: 7038cdb147656c09a570d5d09608b3bae3a688db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdlib.h>

// force malloc&free to be included in from libc
struct Force {
  Force() {
    void *x = malloc(10);
    free(x);
  }
};

static Force f;