Add -lm dependency for gettextlib to fix LTO build
[platform/upstream/gettext.git] / gnulib-local / lib / obstack.h.diff
1 *** obstack.h.orig      2014-04-07 15:57:16.908837962 +0900
2 --- obstack.h   2014-04-07 15:58:22.208411479 +0900
3 ***************
4 *** 201,210 ****
5      more memory.  This can be set to a user defined function which
6      should either abort gracefully or use longjump - but shouldn't
7      return.  The default action is to print a message and abort.  */
8 ! extern void (*obstack_alloc_failed_handler) (void);
9   
10   /* Exit value used when 'print_and_abort' is used.  */
11 ! extern int obstack_exit_failure;
12   
13   /* Pointer to beginning of object being allocated or to be allocated next.
14      Note that this might not be the final address of the object
15 --- 201,210 ----
16      more memory.  This can be set to a user defined function which
17      should either abort gracefully or use longjump - but shouldn't
18      return.  The default action is to print a message and abort.  */
19 ! extern DLL_VARIABLE void (*obstack_alloc_failed_handler) (void);
20   
21   /* Exit value used when 'print_and_abort' is used.  */
22 ! extern DLL_VARIABLE int obstack_exit_failure;
23   
24   /* Pointer to beginning of object being allocated or to be allocated next.
25      Note that this might not be the final address of the object