I've been trying to create a seperated callback & input header, However, whenever I include both in my main.c and compile the code, it says that the functions in the second included header do not exist.
Example1:
Code: Select all
#include <psp headers here>
#include "common/callback.h"
#include "common/input.h"
Example2:
Code: Select all
#include <psp headers here>
#include "common/input.h"
#include "common/callback.h"
I can confirm that my makefile isn't the problem here; both input.h & callback.h do work when only one of them is included.
Thus, I've been wondering if this is a known limitation, if there is a way to work around it without the need of a mega header, or if I did just something plain stupid?.
Do you guys have any ideas?
Advertising