diff options
Diffstat (limited to 'src/CommonAPI/MainLoopContext.h')
-rw-r--r-- | src/CommonAPI/MainLoopContext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CommonAPI/MainLoopContext.h b/src/CommonAPI/MainLoopContext.h index a391db4..0d87442 100644 --- a/src/CommonAPI/MainLoopContext.h +++ b/src/CommonAPI/MainLoopContext.h @@ -5,6 +5,10 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#if !defined (COMMONAPI_INTERNAL_COMPILATION) +#error "Only <CommonAPI/CommonAPI.h> can be included directly, this file may disappear or change contents." +#endif + #ifndef COMMONAPI_MAIN_LOOP_CONTEXT_H_ #define COMMONAPI_MAIN_LOOP_CONTEXT_H_ |