[CMAKE] Zap builddir.h.cmake and instead define macros globally

This changes __RELFILE__ to always be relative and not rely on a GCC extension, since __FILE__ is *always* relative to the root.
This commit is contained in:
Timo Kreuzer 2018-02-13 20:36:08 +01:00
parent 73aa420f0e
commit 79ad68ddc3
6 changed files with 9 additions and 21 deletions

View file

@ -27,7 +27,9 @@
#include <guiddef.h>
#endif
#include <builddir.h>
#ifndef __RELFILE__
#define __RELFILE__ __FILE__
#endif
#ifdef __WINE_WINE_TEST_H
#error This file should not be used in Wine tests