A feature of the sustainability problem is that the preferences of future generations are uncertain. In this paper, we put forward a fairness-based definition of sustainability that takes this uncertainty into account. We analyze the implications of this definition in the context of a model of project evaluation. We show that our definition encompasses the concepts of non-declining welfare and of weak and strong sustainability. Furthermore, we show that preference uncertainty has a substantial influence on the implications of sustainability.