pad: fix blocking probe emission
[platform/upstream/gstreamer.git] / gst / gst-i18n-lib.h
index a68d505..e4eb45e 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef __GST_I18N_LIB_H__
 #define __GST_I18N_LIB_H__
 
-#ifndef GST_VERSION
+#ifndef PACKAGE_NAME
 #error You must include config.h before including this header.
 #endif
 
 /* FIXME: if we need it, we can add Q_ as well, like in glib */
 
 #else
-
-#define GETTEXT_PACKAGE NULL
 #define _(String) String
 #define N_(String) String
+#define ngettext(Singular,Plural,Count) ((Count>1)?Plural:Singular)
 
 #endif