X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Flib%2Fstruct.qh;h=3caf8aaf5717ff3d413e26af362b0aeab7497eba;hb=5135af77c8666e85e6fa2e5664e7f53e09690b0d;hp=bce19f4fd674e807cc0ee4beb749ddf80ec4c3dd;hpb=349aeb508e5a3d577df60bef8a552da2db7d928d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/struct.qh b/qcsrc/lib/struct.qh index bce19f4fd..3caf8aaf5 100644 --- a/qcsrc/lib/struct.qh +++ b/qcsrc/lib/struct.qh @@ -1,5 +1,4 @@ -#ifndef STRUCT_H -#define STRUCT_H +#pragma once #ifndef QCC_SUPPORT_STRUCT #define _STRUCT_DECLARE(x, id, type, END) noref type x##_##id; @@ -31,5 +30,3 @@ #define _STRUCT_MEMBER(my, id, type, END) type id; #define STRUCT(id, s) struct STRUCT_##id { s(_STRUCT_MEMBER, ) }; #endif - -#endif