mirror of
https://github.com/troglobit/libite.git
synced 2026-10-24 11:44:37 +00:00
More syntactic sugar
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
5b670951a3
commit
b21d1c8e9b
1 file changed
+10
-10
@@ -66,16 +66,16 @@ $ pkg-config --libs --static --cflags libite
|
|||||||
-I/usr/local/include -D_LIBITE_LITE -L/usr/local/lib -lite
|
-I/usr/local/include -D_LIBITE_LITE -L/usr/local/lib -lite
|
||||||
```
|
```
|
||||||
|
|
||||||
Notice that `_LIBITE_LITE` is defined since v2.5.0, useful for software
|
> **Note:** `_LIBITE_LITE` is defined since v2.5.0, useful for software
|
||||||
that want to be able to build against headers from an older libite:
|
> that want to be able to build against headers from an older libite:
|
||||||
|
>
|
||||||
```C
|
> ```C
|
||||||
#ifdef _LIBITE_LITE
|
> #ifdef _LIBITE_LITE
|
||||||
# include <libite/lite.h>
|
> # include <libite/lite.h>
|
||||||
#else
|
> #else
|
||||||
# include <lite/lite.h>
|
> # include <lite/lite.h>
|
||||||
#endif
|
> #endif
|
||||||
```
|
> ```
|
||||||
|
|
||||||
The prefix path `/usr/local/` shown here is only the default. Use the
|
The prefix path `/usr/local/` shown here is only the default. Use the
|
||||||
`configure` script to select a different prefix when installing libite.
|
`configure` script to select a different prefix when installing libite.
|
||||||
|
|||||||
Reference in new issue
Block a user