~ubuntu-branches/ubuntu/precise/xcircuit/precise

« back to all changes in this revision

Viewing changes to menudep.c

  • Committer: Bazaar Package Importer
  • Author(s): Aanjhan Ranganathan
  • Date: 2006-04-18 23:51:39 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060418235139-s49pkhwdzxvsxm5k
Tags: 3.4.21-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <string.h>
28
28
#include <stdlib.h>
29
29
 
 
30
#ifndef XC_WIN32
30
31
#include <X11/Intrinsic.h>
31
32
#include <X11/StringDefs.h>
 
33
#include <X11/Xlib.h>
32
34
#include <X11/Xutil.h>
 
35
#endif
33
36
 
34
37
#include "xcircuit.h"
35
38
 
153
156
 
154
157
int main()
155
158
{
 
159
#ifdef XC_WIN32
 
160
   FILE *fid = fopen("menudep.h", "w");
 
161
   fclose(fid);
 
162
   return 0;
 
163
#else
156
164
   /* create empty file menudep.h */
157
165
   const char *argv[] = {
158
166
        "touch",
161
169
   };
162
170
   execvp(argv[0], argv);
163
171
   exit(0);
 
172
#endif
164
173
}
165
174
 
166
175
#endif /* TCL_WRAPPER */