X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Flib%2Ffunctional.qh;h=82d577b169083eb18d9499d8540cd7e3f7e96e99;hb=5453f53da1df88742c11c71e4dc5b9c3e3d24c62;hp=237492d90056fd54da37f3aeae91796bc9b1d0b2;hpb=317ec3eb27ada1c4668876e9499136125acb7984;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/functional.qh b/qcsrc/lib/functional.qh index 237492d90..82d577b16 100644 --- a/qcsrc/lib/functional.qh +++ b/qcsrc/lib/functional.qh @@ -1,5 +1,4 @@ -#ifndef FUNCTIONAL_H -#define FUNCTIONAL_H +#pragma once #define MAP(f, ...) EVAL(OVERLOAD(MAP, f, __VA_ARGS__)) #define MAP_2(f, it) f(it) @@ -41,5 +40,3 @@ #endif #define IF(cond, f, ...) cond(f, __VA_ARGS__) - -#endif