diff options
author | Gary Kramlich <grim@reaperworld.com> | 2020-06-21 04:16:15 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2020-06-21 04:16:15 -0500 |
commit | 431bf1b82af7c6e8ce49c4214dfe6f5b5ee43615 (patch) | |
tree | 0fd6704edf87fa3944677b9464c119760efa9fe6 /libpurple/purpleaccountusersplit.h | |
parent | ad0c6f025487a2c14d4c47bd24829c97f288638b (diff) | |
download | pidgin-431bf1b82af7c6e8ce49c4214dfe6f5b5ee43615.tar.gz |
Make it so only libpurple can directly include libpurple header files.
This is part of our on going effort to make it easier to develop against libpurple as well as making our filenames not part of our api.
Make it so only libpurple can directly include libpurple header files.
Testing Done:
Just a normal compile to make sure everything builds again.
Reviewed at https://reviews.imfreedom.org/r/8/
Diffstat (limited to 'libpurple/purpleaccountusersplit.h')
-rw-r--r-- | libpurple/purpleaccountusersplit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpurple/purpleaccountusersplit.h b/libpurple/purpleaccountusersplit.h index 05637a1e2c..e59c82ec75 100644 --- a/libpurple/purpleaccountusersplit.h +++ b/libpurple/purpleaccountusersplit.h @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ +#if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) +# error "only <purple.h> may be included directly" +#endif + #ifndef PURPLE_ACCOUNT_USER_SPLIT_H #define PURPLE_ACCOUNT_USER_SPLIT_H |