projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0982adf
)
Make pixman-version.h print an error if you include it by itself
author
Søren Sandmann
<sandmann@redhat.com>
Wed, 26 Mar 2008 03:11:19 +0000
(23:11 -0400)
committer
Søren Sandmann
<sandmann@redhat.com>
Wed, 26 Mar 2008 03:11:19 +0000
(23:11 -0400)
pixman/pixman-version.h.in
patch
|
blob
|
history
diff --git
a/pixman/pixman-version.h.in
b/pixman/pixman-version.h.in
index
ce86312
..
256b2e6
100644
(file)
--- a/
pixman/pixman-version.h.in
+++ b/
pixman/pixman-version.h.in
@@
-27,6
+27,10
@@
#ifndef PIXMAN_VERSION_H__
#define PIXMAN_VERSION_H__
+#ifndef PIXMAN_H__
+# error pixman-version.h should only be included by pixman.h
+#endif
+
#define PIXMAN_VERSION_MAJOR @PIXMAN_VERSION_MAJOR@
#define PIXMAN_VERSION_MINOR @PIXMAN_VERSION_MINOR@
#define PIXMAN_VERSION_MICRO @PIXMAN_VERSION_MICRO@