~ubuntu-branches/ubuntu/utopic/rxvt-unicode/utopic-proposed

« back to all changes in this revision

Viewing changes to libptytty/src/ptytty_conf.h

  • Committer: Package Import Robot
  • Author(s): Ryan Kavanagh
  • Date: 2013-05-26 18:12:22 UTC
  • mfrom: (33.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130526181222-67glcv7nppi4ih7r
Tags: 9.18-2
* Upload to unstable now that wheezy has been released
* Merge in patch from gregor herrman fixing a FTBFS due to POD errors
  (Closes: #708026)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#endif
34
34
 
35
35
/*
36
 
 * Provide a STL-like vector class and find algorithm.
37
 
 * The default below is fine for normal C++ environments.
38
 
 */
39
 
#ifndef PTYTTY_NO_LIBCPP
40
 
# define PTYTTY_NO_LIBCPP 0
41
 
#endif
42
 
 
43
 
/*
44
36
 * printf-like functions to be called on fatal conditions
45
37
 * (must exit), or warning conditions (only print message)
46
38
 */
47
39
#ifndef PTYTTY_FATAL
48
 
#define PTYTTY_FATAL(msg) do { PTYTTY_WARN ("%s", msg); _exit (1); } while (0)
 
40
#define PTYTTY_FATAL(msg) do { PTYTTY_WARN (msg); _exit (1); } while (0)
49
41
#endif
50
42
#ifndef PTYTTY_WARN
51
 
#define PTYTTY_WARN(msg,arg) fprintf (stderr, msg, arg)
 
43
#define PTYTTY_WARN(msg) fputs (msg, stderr)
52
44
#endif
53
45