mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-27 00:39:41 +03:00
6496d04506
This version of menuetlibc was taken from revision 4743, right before I made any changes git-svn-id: svn://kolibrios.org@4973 a494cfbc-eb01-0410-851d-a64ba20cac60
17 lines
586 B
C
17 lines
586 B
C
#include<stdio.h>
|
|
|
|
int a,b,c;
|
|
|
|
int main(void)
|
|
{
|
|
fscanf(stdin,"%u.%u.%u",&a,&b,&c);
|
|
fprintf(stdout,"/* This file is automatically generated by mkversion. */\n");
|
|
fprintf(stdout,"/* Please do not modify it unless you know what you are doing. */\n");
|
|
fprintf(stdout,"#define MENUET_LIBC_VERSION \"%u.%u.%u\"\n",a,b,c);
|
|
fprintf(stdout,"\n#ifdef INCLUDE_RCS_ID\n");
|
|
fprintf(stdout,"static const char * ___menuet__libc_version_%u_%u_%u=\"",a,b,c);
|
|
fprintf(stdout,"MenuetOS GNU C library port by Jarek Pelczar. This file is \" __FILE__ ; \n");
|
|
fprintf(stdout,"#endif\n");
|
|
return 0;
|
|
}
|